From 468109c399d40c1a1f3c30bd443e09951aaf4a64 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期三, 15 五月 2024 18:19:03 +0800
Subject: [PATCH] fix:部门管理员角色设置
---
src/main/resources/mapper/ExamPaperMapper.xml | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/src/main/resources/mapper/ExamPaperMapper.xml b/src/main/resources/mapper/ExamPaperMapper.xml
index de8bcd2..4708fcc 100644
--- a/src/main/resources/mapper/ExamPaperMapper.xml
+++ b/src/main/resources/mapper/ExamPaperMapper.xml
@@ -423,19 +423,8 @@
where a.exam_paper_id = #{id}
</select>
- <select id="saveMissExamUser" resultType="com.mindskip.xzs.domain.ExamMiss">
- INSERT INTO t_exam_miss(exam_id, user_id)
- SELECT a.id,
- b.user_id
- FROM t_exam_paper a
- left join t_exam_paper_user b on a.id = b.exam_paper_id
- left join t_exam_paper_answer c on a.id = c.exam_paper_id and c.create_user = b.user_id
- WHERE a.id = #{examPaperId}
- and c.id is null
+ <select id="list" resultType="com.mindskip.xzs.domain.ExamPaper">
+ select id, name from t_exam_paper order by create_time desc
</select>
-
- <select id="selectTimeTaskPaper" resultType="com.mindskip.xzs.domain.ExamPaper">
- select id, limit_end_time from t_exam_paper where paper_type = 4 and limit_end_time >= #{time} and deleted = 0
- </select>
</mapper>
--
Gitblit v1.8.0