From 146f2ce4429f07aa2ada8272a0c3f99b41f94a2c Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Thu, 31 Aug 2023 10:38:37 +0800
Subject: [PATCH] 保安员成绩查询修改(新增保安员证编号显示)
---
src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.xml b/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.xml
index 43fe24e..a79c897 100644
--- a/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.xml
+++ b/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.xml
@@ -128,7 +128,7 @@
</select>
- <!--导出保安员证信息-->
+ <!--导出保安员证信息(上岗证)-->
<select id="exportSecurityPaperList" resultType="org.springblade.modules.accreditation.vo.AccreditationRecordsVo">
SELECT
sar.*,
@@ -214,6 +214,9 @@
<if test="accreditationRecords.isAvatar==2">
and (bu.avatar is null or bu.avatar="")
</if>
+ <if test="accreditationRecords.auditStatus!=null">
+ and sar.audit_status = #{accreditationRecords.auditStatus}
+ </if>
<if test="accreditationRecords.startTime!=null and accreditationRecords.startTime!='' and accreditationRecords.startTime!='undefined'">
and sar.create_time >= #{accreditationRecords.startTime}
</if>
--
Gitblit v1.9.3