From abe4f3885d4d5742c3e91f65186c85e1e7559bd2 Mon Sep 17 00:00:00 2001
From: 钟日健 <5689795+arsn@user.noreply.gitee.com>
Date: Wed, 23 Feb 2022 17:45:41 +0800
Subject: [PATCH] 查询会员信息接口新增,模拟考试开始处理接口新增,模拟考试暂停处理接口新增, 是否有待完成的模拟考试接口新增,模拟考试暂停后再次进入考试信息查询接口新增

---
 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 &gt;= #{directive.startTime}
+            and sd.send_time &gt;= #{directive.startTime}
         </if>
         <if test="directive.endTime!=null and directive.endTime!=''">
-            and sl.send_time &lt;= #{directive.endTime}
+            and sd.send_time &lt;= #{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