From e30ffbcb28d5cf24a5cf11d7487b1f9a8d82540e Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Fri, 10 Dec 2021 17:24:56 +0800
Subject: [PATCH] 1.押运
---
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