From 8b02c916fec8819f4f1b27b21a26cca6c41b5f5d Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期一, 14 七月 2025 09:54:05 +0800
Subject: [PATCH] add:定时任务配置,热门城市
---
src/main/resources/mapper/film/FilmWorksMapper.xml | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/film/FilmWorksMapper.xml b/src/main/resources/mapper/film/FilmWorksMapper.xml
index 9b19ce0..fdcdac5 100644
--- a/src/main/resources/mapper/film/FilmWorksMapper.xml
+++ b/src/main/resources/mapper/film/FilmWorksMapper.xml
@@ -54,14 +54,26 @@
<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}
+ </if>
+ <if test="dto.category != null and dto.category != ''">
+ AND t.keywords LIKE CONCAT('%', #{dto.category}, '%')
</if>
<if test="dto.createDateBegin != null">
<![CDATA[
@@ -81,7 +93,7 @@
OR t.director LIKE CONCAT('%', #{dto.keywords}, '%'))
</if>
ORDER BY
- t.update_time DESC
+ t.sticky_weight DESC
</select>
--
Gitblit v1.9.3