From d65603650a5b9055f13f6406059c1f0cca471245 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Tue, 02 Jan 2024 10:14:41 +0800
Subject: [PATCH] 派遣统计接口、审核人信息

---
 src/main/java/org/springblade/modules/exam/mapper/ScoreAuditRecordsMapper.xml |    7 ++++++-
 1 files changed, 6 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 2fd7466..dba7af8 100644
--- a/src/main/java/org/springblade/modules/exam/mapper/ScoreAuditRecordsMapper.xml
+++ b/src/main/java/org/springblade/modules/exam/mapper/ScoreAuditRecordsMapper.xml
@@ -12,7 +12,8 @@
             ifnull(DATE_FORMAT(NOW(), '%Y') - SUBSTRING( bu.cardid,7,4),0) age,
             bu1.real_name applyRealName,
             ke.exam_name examName,date_format(ke.start_time,'%Y-%m-%d') examTime,
-            bt1.dept_name applyUnitName
+            bt1.dept_name applyUnitName,
+            bu2.real_name as auditUserName
         FROM
             sys_score_audit_records ssar
         left join
@@ -47,6 +48,10 @@
             sys_jurisdiction sj
         on
             sj.id = si.jurisdiction
+        left join
+            blade_user bu2
+        on
+            ssar.audit_user = bu2.id
         WHERE
             1=1
         and bu.status = 1

--
Gitblit v1.9.3