From 30df94c05573a426d030510d4dd58ae1d93bfb7a Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Mon, 06 Dec 2021 14:03:37 +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 <= #{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