src/main/resources/mapper/OrderDetlMapper.xml
@@ -133,7 +133,14 @@ and order_no like '%' + #{orderNo} + '%' </if> and matnr = #{matnr} and batch = #{batch} <choose> <when test="batch != null and batch!='' "> and batch = #{batch} </when> <otherwise> and (batch IS NULL OR batch = '') </otherwise> </choose> </select> <update id="increase">