【修改】进入考试,未分配考场中文提示

This commit is contained in:
YOHO\20373
2025-06-26 13:57:39 +08:00
parent 87fd41bb49
commit 212c28d80d

View File

@@ -262,7 +262,9 @@ public class MonitorServiceImpl implements MonitorService {
EducationPaperPerson educationPaperPerson = educationPaperPersonMapper.selectByTaskIdAndPersonId(stuMonitorPaperVo.getTaskId(), stuMonitorPaperVo.getStuId()); EducationPaperPerson educationPaperPerson = educationPaperPersonMapper.selectByTaskIdAndPersonId(stuMonitorPaperVo.getTaskId(), stuMonitorPaperVo.getStuId());
EducationPaperSession educationPaperSession = educationPaperSessionMapper.selectEducationPaperSessionBySessionId(educationPaperPerson.getSessionId()); EducationPaperSession educationPaperSession = educationPaperSessionMapper.selectEducationPaperSessionBySessionId(educationPaperPerson.getSessionId());
if (educationPaperSession == null) {
throw new MonitorSpecialtyException("未分配考场,请练习教师!");
}
//结束时间 //结束时间
Date endTime = educationPaperSession.getEndTime(); Date endTime = educationPaperSession.getEndTime();
//开始时间 //开始时间