From 790d073559bfc15e9d1130fb9d51e9d673985cc7 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期五, 13 六月 2025 13:45:47 +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