From 49fef7a7aa1b1b87f83f8575db63c00f5e24df37 Mon Sep 17 00:00:00 2001 From: xiaoCJ <406612557@qq.com> Date: Mon, 15 Jul 2024 16:03:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E4=B8=BA=E6=A8=A1=E7=B3=8A=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/SysCaseQuestionMapper.xml | 2 +- src/main/resources/mapper/SysObjectiveQuestionsMapper.xml | 4 ++-- src/main/resources/mapper/SysResourceMapper.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/mapper/SysCaseQuestionMapper.xml b/src/main/resources/mapper/SysCaseQuestionMapper.xml index 12e6b9a..6a2b619 100644 --- a/src/main/resources/mapper/SysCaseQuestionMapper.xml +++ b/src/main/resources/mapper/SysCaseQuestionMapper.xml @@ -460,7 +460,7 @@ on s.case_id = st.topic_id - and s.title = #{title} + and s.title LIKE CONCAT('%', #{title}, '%') and s.unmount_status is false diff --git a/src/main/resources/mapper/SysObjectiveQuestionsMapper.xml b/src/main/resources/mapper/SysObjectiveQuestionsMapper.xml index 79db0e1..9191ae8 100644 --- a/src/main/resources/mapper/SysObjectiveQuestionsMapper.xml +++ b/src/main/resources/mapper/SysObjectiveQuestionsMapper.xml @@ -417,7 +417,7 @@ and sb.type = #{type} - and sb.content = #{content} + and sb.content LIKE CONCAT('%', #{content}, '%') order by sb.create_time @@ -444,7 +444,7 @@ and sb.type = #{type} - and sb.content = #{content} + and sb.content LIKE CONCAT('%', #{content}, '%') and sb.source in (#{schoolId},'管理员') diff --git a/src/main/resources/mapper/SysResourceMapper.xml b/src/main/resources/mapper/SysResourceMapper.xml index c5b14ef..e2258f1 100644 --- a/src/main/resources/mapper/SysResourceMapper.xml +++ b/src/main/resources/mapper/SysResourceMapper.xml @@ -392,7 +392,7 @@ and sc.three_id = #{threeId} - and sr.resource_name = #{resourceName} + and sr.resource_name LIKE CONCAT('%', #{resourceName}, '%') order by sr.create_time