#
luxiaotao1123
2021-03-11 c2cd7bc6d350d00f4e5df6d114f68f0804cb13d1
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}