From bb60b5747d5f4b85655a541d4990ec7464497b1b Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期五, 10 五月 2024 18:18:02 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/SvyLibTopicMapper.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTopicMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTopicMapper.xml index 2f4bf1e..ce6c640 100644 --- a/smartor/src/main/resources/mapper/smartor/SvyLibTopicMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/SvyLibTopicMapper.xml @@ -72,7 +72,8 @@ <if test="oldid != null ">and oldid = #{oldid}</if> <if test="topictype != null and topictype != ''">and topictype = #{topictype}</if> <if test="categoryid != null ">and categoryid = #{categoryid}</if> - <if test="topic != null and topic != ''">and topic = #{topic}</if> + <if test="topic != null and topic != ''">and topic like concat('%', #{topic}, '%')</if> + <if test="ishide != null ">and ishide = #{ishide}</if> <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> <if test="svyid != null and svyid != ''">and svyid = #{svyid}</if> -- Gitblit v1.9.3