|
@@ -241,7 +241,6 @@ public class ExamServiceImpl extends ServiceImpl<ExamMapper, Exam> implements IE
|
|
if((Validator.isEmpty(entity.getDoType()))||(entity.getDoType()!=2)){
|
|
if((Validator.isEmpty(entity.getDoType()))||(entity.getDoType()!=2)){
|
|
throw new CustomException("非考试类型无法开启模拟随机做题");
|
|
throw new CustomException("非考试类型无法开启模拟随机做题");
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
if(Validator.isNotEmpty(entity.getSimulateConfig())){
|
|
if(Validator.isNotEmpty(entity.getSimulateConfig())){
|
|
Integer q1 = entity.getSimulateConfig().getSingleChoice().getQNum();
|
|
Integer q1 = entity.getSimulateConfig().getSingleChoice().getQNum();
|