|
@@ -261,7 +261,8 @@
|
|
f_qtyD = f_qtyD - #{map.warehousebillsitems.fQty},
|
|
f_qtyD = f_qtyD - #{map.warehousebillsitems.fQty},
|
|
f_volumnD = f_volumnD - #{map.warehousebillsitems.fVolumn},
|
|
f_volumnD = f_volumnD - #{map.warehousebillsitems.fVolumn},
|
|
f_netweightD = f_netweightD - #{map.warehousebillsitems.fNetweight},
|
|
f_netweightD = f_netweightD - #{map.warehousebillsitems.fNetweight},
|
|
- f_grossweightD = f_grossweightD - #{map.warehousebillsitems.fGrossweight}
|
|
|
|
|
|
+ f_grossweightD = f_grossweightD - #{map.warehousebillsitems.fGrossweight},
|
|
|
|
+ f_qtyblc = f_qtyblc - #{map.warehousebillsitems.fQty}
|
|
</if>
|
|
</if>
|
|
/*判断是否出库*/
|
|
/*判断是否出库*/
|
|
<if test="map.billType == 'SJCK'">
|
|
<if test="map.billType == 'SJCK'">
|
|
@@ -276,7 +277,8 @@
|
|
f_qtyC = f_qtyC - #{map.warehousebillsitems.fQty},
|
|
f_qtyC = f_qtyC - #{map.warehousebillsitems.fQty},
|
|
f_volumnC = f_volumnC - #{map.warehousebillsitems.fVolumn},
|
|
f_volumnC = f_volumnC - #{map.warehousebillsitems.fVolumn},
|
|
f_netweightC = f_netweightC - #{map.warehousebillsitems.fNetweight},
|
|
f_netweightC = f_netweightC - #{map.warehousebillsitems.fNetweight},
|
|
- f_grossweightC = f_grossweightC - #{map.warehousebillsitems.fGrossweight}
|
|
|
|
|
|
+ f_grossweightC = f_grossweightC - #{map.warehousebillsitems.fGrossweight},
|
|
|
|
+ f_qtyblc = f_qtyblc + #{map.warehousebillsitems.fQty}
|
|
</if>
|
|
</if>
|
|
-- update_by = NOW()
|
|
-- update_by = NOW()
|
|
</trim>
|
|
</trim>
|