【修改】增加后台api接口注释,优化mysql判分,知识点改为存储id,试题已使用,学生除待考其它状态不可删除。。。

【新增】试卷任务参数,在已有的试卷里抽卷。。。
This commit is contained in:
YOHO\20373
2025-06-09 10:51:13 +08:00
parent d34b189598
commit a100427181
45 changed files with 1027 additions and 203 deletions

View File

@@ -15,4 +15,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectByStuIdAndTaskId" resultType="java.lang.String">
select task_id from exam_monitor where stu_id = #{stuId} and exam_status !='2'
</select>
<select id="selectStuIdByTaskId" resultType="java.lang.String">
select stu_id from exam_monitor where task_id =#{taskId} and deleted ='0' and exam_status ='0'
</select>
</mapper>