src/main/resources/mapper/LocDetlMapper.xml
@@ -48,11 +48,11 @@ <sql id="batchSeq"> <choose> <when test="batch != null and batch != ''"> <when test="batch != null"> and batch = #{batch} </when> <otherwise> and (batch IS NULL OR batch = '') and (batch IS NULL) </otherwise> </choose> </sql>