|
@@ -321,7 +321,7 @@ public class ExamServiceImpl implements ExamService {
|
|
throw new StatusException("001101", "beginTime & endTime wrong");
|
|
throw new StatusException("001101", "beginTime & endTime wrong");
|
|
}
|
|
}
|
|
|
|
|
|
- ExamEntity examEntity = examRepo.getOne(examId);
|
|
|
|
|
|
+ ExamEntity examEntity = GlobalHelper.getPresentEntity(examRepo, examId, ExamEntity.class);
|
|
|
|
|
|
if (null == examSpecialInfo.getId()) {
|
|
if (null == examSpecialInfo.getId()) {
|
|
examOrgEntity = examSpecialSettingsRepo.findByExamIdAndOrgIdAndCourseIdIsNull(
|
|
examOrgEntity = examSpecialSettingsRepo.findByExamIdAndOrgIdAndCourseIdIsNull(
|