【修改】进入考试,未分配考场中文提示
This commit is contained in:
@@ -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();
|
||||||
//开始时间
|
//开始时间
|
||||||
|
Reference in New Issue
Block a user