he2802 il y a 2 ans
Parent
commit
e8983553d1

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/domain/Exam.java

@@ -70,6 +70,6 @@ private static final long serialVersionUID=1L;
     private Integer simulateStatus;
 
     /** 模拟考配置参数 */
-    @TableField(updateStrategy = FieldStrategy.IGNORED)
+    @TableField(exist = false)
     private ExamSimulateConfigBo simulateConfig;
 }

+ 0 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/service/impl/ExamServiceImpl.java

@@ -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();