src/main/resources/mapper/LocDetlMapper.xml
@@ -54,11 +54,11 @@ </resultMap> <sql id="batchSeq123"> <choose> <when test="standby1 != null and standby1 != ''"> and d.standby1 = #{standby1} <when test="boxType3 != null and boxType3 != ''"> and a.box_type3 = #{boxType3} </when> <otherwise> and (d.standby1 IS NULL OR d.standby1 = '') and (a.box_type3 IS NULL OR a.box_type3 = '') </otherwise> </choose> </sql>