From 1998d0e9a5cb8cb33a4680a56b221b701a28d947 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Mon, 13 Dec 2021 11:55:34 +0800
Subject: [PATCH] 1. 新增考试时间到达后成绩计算接口 2. 修改个人考试查询接口,新增考试状态,成绩id,考试开始时间(防止考试中途关闭浏览器)
---
src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml b/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
index bbef26b..2bccbda 100644
--- a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
+++ b/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
@@ -101,6 +101,10 @@
blade_dept bd
on
bd.id = i.departmentid
+ left join
+ blade_user bu
+ on
+ bu.id = i.create_user_id
where 1=1
<if test="information.jurisdiction!=null and information.jurisdiction!='' and information.jurisdiction!='1372091709474910209'">
and (sj.id=#{information.jurisdiction} or sj.parent_id=#{information.jurisdiction})
@@ -117,6 +121,10 @@
<if test="information.departmentid!=null and information.departmentid!=''">
and i.departmentid=#{information.departmentid}
</if>
+ <if test="information.createDeptId!=null and information.createDeptId!=''">
+ and bu.dept_id =#{information.createDeptId}
+ </if>
+ order by i.id desc
</select>
<delete id="deleteIn">
--
Gitblit v1.9.3