Browse Source

销售退货删除回复已转数错误处理

rainco 7 years ago
parent
commit
a2fd5e4a35

+ 1 - 1
applications/sale/sale-server/src/main/resources/mapper/ProdIODetailMapper.xml

@@ -746,7 +746,7 @@ update prodiodetail a
           and pd_piid=#{id}  GROUP BY pd_ioid ) b
           where IFNULL(b.pd_ioid ,0)= a.pd_id
      ),0)
-where a.pd_id in (select pd_ioid from prodiodetail where pd_piid=#{id} and pi_class='出货单')
+where a.pd_id in (select pd_ioid from prodiodetail where pd_piid=#{id} and pd_piclass='出货单')
   </update>
   <update id="updateSaleYqty" parameterType="long">