| | |
| | | <if test="dto.nameCn != null and dto.nameCn != ''"> |
| | | AND t.name_cn LIKE CONCAT('%', #{dto.nameCn}, '%') |
| | | </if> |
| | | <if test="dto.nameEn != null and dto.nameEn != ''"> |
| | | AND t.name_en LIKE CONCAT('%', #{dto.nameEn}, '%') |
| | | </if> |
| | | <if test="dto.status != null and dto.status != ''"> |
| | | AND t.status = #{dto.status} |
| | | </if> |
| | | <if test="dto.type != null and dto.type != ''"> |
| | | AND t.type = #{dto.type} |
| | | </if> |
| | | <if test="dto.userType != null and dto.userType != ''"> |
| | | AND t.user_type = #{dto.userType} |
| | | </if> |
| | | <if test="dto.releaseYear != null and dto.releaseYear != ''"> |
| | | AND t.release_year = #{dto.releaseYear} |
| | | </if> |
| | | <if test="dto.classify != null and dto.classify != ''"> |
| | | AND t.classify = #{dto.classify} |
| | |
| | | OR t.director LIKE CONCAT('%', #{dto.keywords}, '%')) |
| | | </if> |
| | | ORDER BY |
| | | t.update_time DESC |
| | | t.sticky_weight DESC |
| | | </select> |
| | | |
| | | |