From 8f05785d8885f7881c2636413b0b48288b52a372 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期四, 09 五月 2024 18:04:28 +0800 Subject: [PATCH] feat:新增待补考学生记录(时段试卷过期自动保存、考试时间超时保存为待补考) --- src/main/resources/mapper/QuestionSubjectMapper.xml | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/QuestionSubjectMapper.xml b/src/main/resources/mapper/QuestionSubjectMapper.xml index bd5e907..5811325 100644 --- a/src/main/resources/mapper/QuestionSubjectMapper.xml +++ b/src/main/resources/mapper/QuestionSubjectMapper.xml @@ -48,4 +48,11 @@ where subject_id = #{subjectId} </delete> + <select id="getSubject" resultMap="BaseResultMap"> + select qs.*,s.name as subName + from t_question_subject qs + left join t_subject s on qs.subject_id = s.id + where subject_id = #{id} and qs.deleted = 0 and s.deleted = 0 + </select> + </mapper> \ No newline at end of file -- Gitblit v1.8.0