From d3397094c217c642d68313ca6b9996e6a133b362 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 31 Dec 2021 11:41:47 +0800
Subject: [PATCH] 1. 保安员导入去除是否持证 2. 考试成绩统计查询新增查询接口 3. 新增保安员证导入接口 4. 上岗证导出修改为导出即修改制证状态

---
 src/main/java/org/springblade/modules/permit/mapper/PermitMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/springblade/modules/permit/mapper/PermitMapper.xml b/src/main/java/org/springblade/modules/permit/mapper/PermitMapper.xml
index 29bf619..99dfabd 100644
--- a/src/main/java/org/springblade/modules/permit/mapper/PermitMapper.xml
+++ b/src/main/java/org/springblade/modules/permit/mapper/PermitMapper.xml
@@ -45,6 +45,9 @@
         <if test="permit.jurisdiction!=null and permit.jurisdiction != '' and permit.jurisdiction!='1372091709474910209'">
             and (sj.id = #{permit.jurisdiction} or sj.parent_id = #{permit.jurisdiction})
         </if>
+        <if test="permit.cardid!=null and permit.cardid != ''">
+            and  si.cardid=#{permit.cardid}
+        </if>
 <!--        <if test="permit.usetype=='1'.toString()">-->
 <!--            and si.jurisdiction in(${jurisdiction})-->
 <!--        </if>-->

--
Gitblit v1.9.3