src/main/resources/mapper/LocDetlMapper.xml
@@ -301,7 +301,7 @@ <!-- and (a.batch IS NULL OR a.batch = '')--> <!-- </otherwise>--> <!-- </choose>--> <if test="batch != null"> <if test="batch != null and batch != ''"> and a.batch = #{batch} </if> <if test="orderNo != null and orderNo != ''">