src/main/resources/mapper/OrderDetlMapper.xml @@ -68,7 +68,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>