【修改】考试任务下的学生考完试,看不见刚考的任务

This commit is contained in:
YOHO\20373
2025-05-27 20:11:09 +08:00
parent 940a71ae47
commit 01b53927aa
5 changed files with 31 additions and 5 deletions

View File

@@ -12,4 +12,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select score from exam_monitor where stu_id =#{stuId} and task_id=#{taskId} ORDER BY create_time DESC
LIMIT 1
</select>
<select id="selectByStuIdAndTaskId" resultType="java.lang.String">
select task_id from exam_monitor where stu_id = #{stuId} and exam_status !='2'
</select>
</mapper>