#
luxiaotao1123
2021-03-13 6ede6b27b7c8d4ea5cbf4ec93b17b5f2358debf1
src/main/resources/mapper/LocDetlMapper.xml
@@ -91,6 +91,16 @@
    <update id="reduceStock">
        update man_loc_detl
        set anfme = anfme - #{anfme}
        , update_time = getdate()
        where 1=1
        and node_id = #{nodeId}
        and matnr = #{matnr}
    </update>
    <update id="incrementStock">
        update man_loc_detl
        set anfme = anfme + #{anfme}
        , update_time = getdate()
        where 1=1
        and node_id = #{nodeId}
        and matnr = #{matnr}