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