zy-asrs-common/src/main/resources/mapper/wms/OrderDetlMapper.xml
@@ -136,4 +136,21 @@ </choose> </update> <update id="increaseWorkQty"> update man_order_detl set work_qty = work_qty + #{workQty} where 1=1 and order_id = #{orderId} and matnr = #{matnr} and host_id = #{hostId} <choose> <when test="batch != null and batch != ''"> and batch = #{batch} </when> <otherwise> and (batch IS NULL OR batch = '') </otherwise> </choose> </update> </mapper>