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