src/main/resources/mapper/LocDetlMapper.xml
@@ -64,7 +64,15 @@ where 1=1 and loc_no = #{locNo} and matnr = #{matnr} and (batch IS NULL OR batch = '') -- and (batch IS NULL OR batch = '') <choose> <when test="batch != null and batch != ''"> and batch = #{batch} </when> <!-- <otherwise>--> <!-- and (supp_code IS NULL OR supp_code = '')--> <!-- </otherwise>--> </choose> <choose> <when test="suppCode != null and suppCode != ''"> and supp_code = #{suppCode}