|
@@ -352,10 +352,6 @@ public class ExamStudentController extends ControllerSupport {
|
|
|
throw new StatusException("005001", "场次id不正确");
|
|
|
}
|
|
|
|
|
|
- if (!examStage.getEnable()) {
|
|
|
- throw new StatusException("005002", "场次被禁用,请重新选择场次");
|
|
|
- }
|
|
|
-
|
|
|
bean.setExamStageId(cur.getExamStageId());
|
|
|
bean.setExamStageOrder(examStage.getStageOrder());
|
|
|
bean.setStartTime(examStage.getStartTime());
|
|
@@ -499,7 +495,7 @@ public class ExamStudentController extends ControllerSupport {
|
|
|
throw new StatusException("005001", "场次id不正确");
|
|
|
}
|
|
|
|
|
|
- if (examStageEntity.getEnable() == false) {
|
|
|
+ if (!examStageEntity.getEnable()) {
|
|
|
throw new StatusException("005002", "场次被禁用,请重新选择场次");
|
|
|
}
|
|
|
|