自动化立体仓库 - WMS系统
#
whycq
2025-01-04 207823b94f5627fae49d29b51b5ce7186a70c8e0
src/main/resources/mapper/OrderDetlMapper.xml
@@ -48,6 +48,8 @@
        <result column="owner" property="owner" />
        <result column="payment" property="payment" />
        <result column="uuid" property="uuid" />
        <result column="source_loc_name" property="sourceLocName" />
        <result column="target_loc_name" property="targetLocName" />
    </resultMap>
@@ -141,7 +143,7 @@
    <update id="increase">
        update man_order_detl
        set qty = qty + #{qty}
        set work_qty = work_qty + #{workQty}
        where 1=1
        and order_id = #{orderId}
        and matnr = #{matnr}
@@ -157,7 +159,7 @@
    <update id="decrease">
        update man_order_detl
        set qty = qty - #{qty}
        set work_qty = work_qty - #{workQty}
        where 1=1
        and order_no = #{orderNo}
        and matnr = #{matnr}