src/main/resources/mapper/asrs/LocDetlMapper.xml
@@ -103,6 +103,12 @@ <if test="batch!=null and batch!='' "> and a.batch like '%' + #{batch} + '%' </if> <if test="brand!=null and brand!=''"> and a.brand in <foreach collection="brand.split(',')" item="item" open="(" close=")" separator=","> #{item} </foreach> </if> <if test="startTime!=null and endTime!=null"> and a.modi_time between #{startTime} and #{endTime} </if>