From ddb9b1a011b26fec839618fe908dd7d1bacf4a9b Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 22 Oct 2021 20:02:36 +0800
Subject: [PATCH] 1.保安单位树接口修改 2.现场保安员,单位检查字段修改,接口修改 3.缴费记录接口修改 4.出资人,管理人员字段调整,接口修改,导出新增示例 5.考试中题目返回去除答案
---
src/main/java/org/springblade/modules/directive/mapper/DirectiveMapper.xml | 12 +++++++++---
1 files changed, 9 insertions(+), 3 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 38ee2c1..a955914 100644
--- a/src/main/java/org/springblade/modules/directive/mapper/DirectiveMapper.xml
+++ b/src/main/java/org/springblade/modules/directive/mapper/DirectiveMapper.xml
@@ -16,13 +16,19 @@
where
1=1
<if test="directive.type!=null and directive.type!=''">
- and sll.type = #{directive.type}
+ and sd.type = #{directive.type}
</if>
<if test="directive.startTime!=null and directive.startTime!=''">
- and sl.send_time >= #{directive.startTime}
+ and sd.send_time >= #{directive.startTime}
</if>
<if test="directive.endTime!=null and directive.endTime!=''">
- and sl.send_time <= #{directive.endTime}
+ and sd.send_time <= #{directive.endTime}
+ </if>
+ <if test="directive.sendDirectiveId!=null and directive.sendDirectiveId!=''">
+ and sd.send_directive_id like concat('%', #{directive.sendDirectiveId},'%')
+ </if>
+ <if test="directive.receiveDirectiveIds!=null and directive.receiveDirectiveIds!=''">
+ and sd.receive_directive_ids like concat('%', #{directive.receiveDirectiveIds},'%')
</if>
</select>
--
Gitblit v1.9.3