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>