From e8a43c513da23b8b2aec0a09e602206b8b56ff5e Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Wed, 01 Dec 2021 15:42:07 +0800
Subject: [PATCH] 1.首页报错

---
 src/main/java/org/springblade/modules/directive/mapper/DirectiveMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/springblade/modules/directive/mapper/DirectiveMapper.xml b/src/main/java/org/springblade/modules/directive/mapper/DirectiveMapper.xml
index 634329a..5562a1d 100644
--- a/src/main/java/org/springblade/modules/directive/mapper/DirectiveMapper.xml
+++ b/src/main/java/org/springblade/modules/directive/mapper/DirectiveMapper.xml
@@ -24,6 +24,12 @@
         <if test="directive.endTime!=null and directive.endTime!=''">
             and sd.send_time &lt;= #{directive.endTime}
         </if>
+        <if test="directive.content!=null and directive.content!=''">
+            and sd.content like concat('%', #{directive.content},'%')
+        </if>
+        <if test="directive.sendName!=null and directive.sendName!=''">
+            and bu.real_name like concat('%', #{directive.sendName},'%')
+        </if>
         <if test="directive.sendDirectiveId!=null and directive.sendDirectiveId!=''">
             and sd.send_directive_id like concat('%', #{directive.sendDirectiveId},'%')
         </if>

--
Gitblit v1.9.3