@@ -70,6 +70,6 @@ private static final long serialVersionUID=1L;
private Integer simulateStatus;
/** 模拟考配置参数 */
- @TableField(updateStrategy = FieldStrategy.IGNORED)
+ @TableField(exist = false)
private ExamSimulateConfigBo simulateConfig;
}
@@ -241,7 +241,6 @@ public class ExamServiceImpl extends ServiceImpl<ExamMapper, Exam> implements IE
if((Validator.isEmpty(entity.getDoType()))||(entity.getDoType()!=2)){
throw new CustomException("非考试类型无法开启模拟随机做题");
-
if(Validator.isNotEmpty(entity.getSimulateConfig())){
Integer q1 = entity.getSimulateConfig().getSingleChoice().getQNum();