|
|
@@ -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">
|
|
|
|