自动化立体仓库 - WMS系统
luxiaotao1123
2022-03-25 7f959c4938705b186749f898bc7a2ce80e610dde
src/main/resources/mapper/OrderDetlMapper.xml
@@ -47,4 +47,15 @@
        and qty < anfme
    </select>
    <update id="increase">
        update man_order_detl
        set qty = qty + #{qty}
        where 1=1
        and order_id = #{orderId}
        and matnr = #{matnr}
        <if test="batch != null and batch != ''">
            and batch = #{batch}
        </if>
    </update>
</mapper>