|
@@ -337,6 +337,6 @@
|
|
|
DELETE FROM PRODUCTDETAIL WHERE PD_PRODID=#{id}
|
|
DELETE FROM PRODUCTDETAIL WHERE PD_PRODID=#{id}
|
|
|
</delete>
|
|
</delete>
|
|
|
<update id="updatePd_price" parameterType="long">
|
|
<update id="updatePd_price" parameterType="long">
|
|
|
- update productdetail set pd_amount=round(pd_num*pd_price,2) where pd_piid=#{id};
|
|
|
|
|
|
|
+ update productdetail set pd_amount=round(pd_num*pd_price,2) where pd_prodid=#{id};
|
|
|
</update>
|
|
</update>
|
|
|
</mapper>
|
|
</mapper>
|