From 00754b2fb8e71be738e6c312e11d62e64a4e82c3 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 10 Dec 2021 17:13:59 +0800
Subject: [PATCH] 1.二维码批量生成修改,新增图片批量下载 2.用户修改 rtime bug 修改

---
 src/main/java/org/springblade/modules/exam/mapper/ScoreAuditRecordsMapper.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/exam/mapper/ScoreAuditRecordsMapper.xml b/src/main/java/org/springblade/modules/exam/mapper/ScoreAuditRecordsMapper.xml
index 9e88063..e350d6e 100644
--- a/src/main/java/org/springblade/modules/exam/mapper/ScoreAuditRecordsMapper.xml
+++ b/src/main/java/org/springblade/modules/exam/mapper/ScoreAuditRecordsMapper.xml
@@ -11,7 +11,8 @@
             bu.sex,bu.cardid idCardNo,
             ifnull(DATE_FORMAT(NOW(), '%Y') - SUBSTRING( bu.cardid,7,4),0) age,
             bu1.real_name applyRealName,
-            ke.exam_name examName
+            ke.exam_name examName,
+            bt1.dept_name applyUnitName
         FROM
             sys_score_audit_records ssar
         left join
@@ -71,6 +72,9 @@
         <if test="scoreAuditRecords.trainUnitId!=null and  scoreAuditRecords.trainUnitId!=''">
             and bt1.id = #{scoreAuditRecords.trainUnitId}
         </if>
+        <if test="scoreAuditRecords.applyUnitName!=null and  scoreAuditRecords.applyUnitName!=''">
+            and bt1.dept_name like concat('%',#{scoreAuditRecords.applyUnitName},'%')
+        </if>
         <if test="scoreAuditRecords.status!=null">
             and ssar.status = #{scoreAuditRecords.status}
         </if>

--
Gitblit v1.9.3