From 9c6806b0462a169ce0a7d2dcc295e3634f84ef5a Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Tue, 07 Dec 2021 17:41:13 +0800
Subject: [PATCH] 考试成绩修改查询修改,派遣查询接口修改,定时任务打印时间,修改为23点执行
---
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