src/main/resources/mapper/OrderDetlMapper.xml
@@ -80,9 +80,14 @@ where 1=1 and order_no = #{orderNo} and matnr = #{matnr} <if test="batch!=null and batch!='' "> and batch = #{batch} </if> <choose> <when test="batch != null and batch != ''"> and batch = #{batch} </when> <otherwise> and (batch IS NULL OR batch = '') </otherwise> </choose> </select> <select id="selectWorkingDetls" resultMap="BaseResultMap">