From 6e32e696a686b3b70920f9a0e9236b120bc5036f Mon Sep 17 00:00:00 2001
From: 钟日健 <5689795+arsn@user.noreply.gitee.com>
Date: Fri, 29 Apr 2022 10:03:35 +0800
Subject: [PATCH] 保安员审查修改,审查完毕将结果同步到外网

---
 src/main/java/org/springblade/modules/talk/mapper/TalkMapper.xml |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/springblade/modules/talk/mapper/TalkMapper.xml b/src/main/java/org/springblade/modules/talk/mapper/TalkMapper.xml
index 2be131d..ddf08d6 100644
--- a/src/main/java/org/springblade/modules/talk/mapper/TalkMapper.xml
+++ b/src/main/java/org/springblade/modules/talk/mapper/TalkMapper.xml
@@ -18,8 +18,14 @@
 
     <select id="selectTalkPage" resultMap="talkResultMap">
         select * from sys_talk where 1=1
-        <if test="talk.deptid!=null and alk.deptid!='' and alk.deptid!='1123598813738675201'">
-            deptid=#{talk.deptid}
+        <if test="talk.deptid!=null and talk.deptid!='' and talk.deptid!='1123598813738675201'">
+            and deptid = #{talk.deptid}
+        </if>
+        <if test="talk.realName!=null and talk.realName!=''">
+            and real_name like concat('%',#{talk.realName},'%')
+        </if>
+        <if test="talk.title!=null and talk.title!=''">
+            and title like concat('%',#{talk.title},'%')
         </if>
     </select>
 

--
Gitblit v1.9.3