src/main/resources/mapper/ManLocDetlMapper.xml
@@ -349,15 +349,10 @@ select top 1 * from man_loc_detl where loc_no=#{LocNo} and 1=1 and matnr=#{Matnr} <choose> <when test="batch != null and batch != ''"> and batch = #{batch} </when> <otherwise> and (batch IS NULL OR batch = '') </otherwise> </choose> and matnr=#{matnr} <if test="batch != null and batch !='' "> and batch like '%' + #{batch} + '%' </if> </select> <sql id="selectAllWarningSql"> <if test="locNo!=null and locNo!='' ">