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