src/main/resources/mapper/WrkDetlMapper.xml
@@ -55,12 +55,9 @@ <sql id="batchSeq"> <choose> <when test="batch != null and batch != ''"> and batch = #{batch} <when test="suppCode != null and suppCode != ''"> and supp_code = #{suppCode} </when> <otherwise> and (batch IS NULL OR batch = '') </otherwise> </choose> </sql>