guq 7 лет назад
Родитель
Сommit
0b08b9d299

+ 1 - 1
applications/document/document-server/src/main/resources/mapper/ProductDetailMapper.xml

@@ -337,6 +337,6 @@
         DELETE FROM PRODUCTDETAIL WHERE PD_PRODID=#{id}
     </delete>
     <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>
 </mapper>