src/main/resources/mapper/OrderDetlMapper.xml
@@ -169,6 +169,13 @@ </choose> </update> <update id="decrease2"> update man_order_detl set work_qty = work_qty - #{qty} where 1=1 and id = #{id} </update> <update id="modifyStatus"> update man_order_detl set status = #{status} @@ -200,16 +207,7 @@ update man_order_detl set work_qty = work_qty + #{workQty} where 1=1 and order_id = #{orderId} and matnr = #{matnr} <choose> <when test="batch != null and batch != ''"> and batch = #{batch} </when> <otherwise> and (batch IS NULL OR batch = '') </otherwise> </choose> and id = #{id} </update>