src/main/resources/mapper/OrderDetlMapper.xml
@@ -71,7 +71,7 @@ where 1=1 and order_no = #{orderNo} and matnr = #{matnr} <if test="batch!=null"> <if test="batch!=null and batch!=''"> and batch = #{batch} </if> </select> @@ -141,7 +141,7 @@ <update id="increase"> update man_order_detl set qty = qty + #{qty} set work_qty = work_qty + #{workQty} where 1=1 and order_id = #{orderId} and matnr = #{matnr} @@ -157,7 +157,7 @@ <update id="decrease"> update man_order_detl set qty = qty - #{qty} set work_qty = work_qty - #{workQty} where 1=1 and order_no = #{orderNo} and matnr = #{matnr}