|
@@ -68,9 +68,9 @@ public class TEMobileServiceImpl implements TEMobileService {
|
|
throw new BusinessException("未找到考生");
|
|
throw new BusinessException("未找到考生");
|
|
}
|
|
}
|
|
ExamRecordStatusEnum sta = ExamRecordCacheUtil.getStatus(ret.getRecordId());
|
|
ExamRecordStatusEnum sta = ExamRecordCacheUtil.getStatus(ret.getRecordId());
|
|
- if (ExamRecordStatusEnum.FIRST_PREPARE.equals(sta)) {
|
|
|
|
- throw new BusinessException("该考试未开始答题");
|
|
|
|
- }
|
|
|
|
|
|
+// if (ExamRecordStatusEnum.FIRST_PREPARE.equals(sta)) {
|
|
|
|
+// throw new BusinessException("该考试未开始答题");
|
|
|
|
+// }
|
|
if (ExamRecordStatusEnum.FINISHED.equals(sta) || ExamRecordStatusEnum.PERSISTED.equals(sta)) {
|
|
if (ExamRecordStatusEnum.FINISHED.equals(sta) || ExamRecordStatusEnum.PERSISTED.equals(sta)) {
|
|
throw new BusinessException("该考试已结束");
|
|
throw new BusinessException("该考试已结束");
|
|
}
|
|
}
|