Commit f8c6de5800d383979448c657dd540e4ae142faf7
1 parent
e8020d799b
Exists in
master
update
Showing 2 changed files with 3 additions and 3 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/config/DataScopeInterceptor.java
View file @
f8c6de5
... | ... | @@ -102,7 +102,7 @@ |
102 | 102 | @Override |
103 | 103 | public void updateFill(MetaObject metaObject) { |
104 | 104 | //新增时对类属性”updatedTime“字段更新,在属性上面加@TableField(value = "updated_time" ,fill = FieldFill.UPDATE)主要是fill起作用 |
105 | - this.setInsertFieldValByName("updatedTime", new Date(), metaObject); | |
105 | + this.setInsertFieldValByName("updatedtime", new Date(), metaObject); | |
106 | 106 | |
107 | 107 | } |
108 | 108 | } |
talkonlineweb/src/main/java/com/lyms/talkonlineweb/domain/LymsTkrecord.java
View file @
f8c6de5
... | ... | @@ -71,8 +71,8 @@ |
71 | 71 | /** |
72 | 72 | * 更新时间 |
73 | 73 | */ |
74 | - @TableField(value = "updated_time",fill = FieldFill.UPDATE) | |
74 | + @TableField(value = "updatedtime",fill = FieldFill.UPDATE) | |
75 | 75 | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
76 | - private Date updatedTime; | |
76 | + private Date updatedtime; | |
77 | 77 | } |