wangliang 4 years ago
parent
commit
28ddf6d29d

+ 2 - 2
themis-business/src/main/java/com/qmth/themis/business/entity/TEExam.java

@@ -66,7 +66,7 @@ public class TEExam extends BaseEntity {
     private String preNotice;
 
     @ApiModelProperty(value = "考试须知阅读时长(秒)")
-    @TableField(value = "pre_notice_stay_seconds")
+    @TableField(value = "pre_notice_stay_seconds", updateStrategy = FieldStrategy.IGNORED)
     private Integer preNoticeStaySeconds;
 
     @ApiModelProperty(value = "考后说明,针对一个场次进行设置")
@@ -74,7 +74,7 @@ public class TEExam extends BaseEntity {
     private String postNotice;
 
     @ApiModelProperty(value = "允许考试次数")
-    @TableField(value = "exam_count")
+    @TableField(value = "exam_count", updateStrategy = FieldStrategy.IGNORED)
     private Integer examCount;
 
     @ApiModelProperty(value = "断点失效时间(秒)")