From d678db8fe85e51b65403f3edae4bff18aa23ee15 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期二, 01 七月 2025 10:28:07 +0800
Subject: [PATCH] add:影视景点管理

---
 src/main/resources/mapper/film/FilmWorksMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/film/FilmWorksMapper.xml b/src/main/resources/mapper/film/FilmWorksMapper.xml
index 3c4b493..fdcdac5 100644
--- a/src/main/resources/mapper/film/FilmWorksMapper.xml
+++ b/src/main/resources/mapper/film/FilmWorksMapper.xml
@@ -72,6 +72,9 @@
         <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[
                AND t.create_time >= #{dto.createDateBegin}

--
Gitblit v1.9.3