Accept Merge Request #136: (hyc -> master)
Merge Request: 【修改】进入考试,未分配考场中文提示 Created By: @华允传 Accepted By: @华允传 URL: https://g-iswv8783.coding.net/p/education/d/pengchen-exam-java/git/merge/136?initial=true
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