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>