| | |
| | | AND file_name LIKE CONCAT('%',#{query.name},'%') |
| | | </if> |
| | | |
| | | <if test="query.fileSubType != null and query.fileSubType !='' "> |
| | | <if test="query.subFileType != null and query.subFileType !='' "> |
| | | AND sub_file_type in |
| | | <foreach collection="query.fileSubType.split(',')" item="item" open="(" separator="," close=")"> |
| | | #{item} |
| | |
| | | </if> |
| | | |
| | | <if test="query.payload != null and query.payload !='' "> |
| | | AND sub_file_type in |
| | | <foreach collection="query.payload.split(',')" item="item" open="(" separator="," close=")"> |
| | | #{item} |
| | | </foreach> |
| | | AND payload LIKE CONCAT('%',#{query.payload},'%') |
| | | </if> |
| | | |
| | | </select> |