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