oms出库修改库存

This commit is contained in:
zhou-hongcheng
2026-04-23 16:11:36 +08:00
parent 5db994432f
commit b3c4fb521b
5 changed files with 23 additions and 0 deletions
@@ -146,4 +146,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
ALLOCATION_QUANTITY= #{quantity}
where IN_ORDER_NUMBER = #{inOrderNumber} and LOT_NUMBER = #{lotNumber}
</update>
<update id="updateOmsInventorySynchronization">
update "NGWL_TEST_OMS".RESERVATION_MATERIAL_INVENTORY set INVENTORY_QUANTITY = INVENTORY_QUANTITY - #{quantity},
ALLOCATION_QUANTITY= ALLOCATION_QUANTITY - #{quantity}
where IN_ORDER_NUMBER = #{inOrderNumber} and LOT_NUMBER = #{lotNo}
</update>
</mapper>