src/main/resources/mapper/OrderDetlMapper.xml
@@ -46,6 +46,7 @@ <result column="update_time" property="updateTime" /> <result column="memo" property="memo" /> <result column="tk_type" property="tkType" /> <result column="roll_up" property="rollUp" /> </resultMap> @@ -174,7 +175,7 @@ set qty = qty + #{qty} where 1=1 and order_no = #{orderNo} and matnr = #{matnr} and model = #{matnr} <choose> <when test="batch != null and batch != ''"> and batch = #{batch}