Commit 68e60be0 by wutong

采购在途增加在途金额字段更新后,未更新的要置0

parent 85083d96
......@@ -766,7 +766,7 @@
update dc_mid_transit set quantity_transfer =0 where gmt_transfer_modified < #{transferModified,jdbcType=TIMESTAMP}
</update>
<update id="updateOldPurchaseToZero">
update dc_mid_transit set quantity_purchase =0 where gmt_purchase_modified &lt; #{purchaseModified,jdbcType=TIMESTAMP}
update dc_mid_transit set quantity_purchase =0,amount_purchase_transit=0 where gmt_purchase_modified &lt; #{purchaseModified,jdbcType=TIMESTAMP}
</update>
<update id="updateOldUnshippedToZero">
update dc_mid_transit set quantity_unshipped =0 where gmt_unshipped_modified &lt; #{unshippedModified,jdbcType=TIMESTAMP}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment