From 89fa1dff09d953649fbf778a2b9c10a9d9e60040 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期日, 16 五月 2021 10:42:47 +0800 Subject: [PATCH] update admin 实时监控日志 改为保留一天 --- ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysDept.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysDept.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysDept.java index 8db94da..72240bc 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysDept.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysDept.java @@ -9,6 +9,7 @@ import javax.validation.constraints.Email; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Size; +import java.io.Serializable; import java.util.*; /** @@ -21,7 +22,7 @@ @NoArgsConstructor @Accessors(chain = true) @TableName("sys_dept") -public class SysDept +public class SysDept implements Serializable { private static final long serialVersionUID = 1L; @@ -68,6 +69,7 @@ private String parentName; /** 鍒涘缓鑰� */ + @TableField(fill = FieldFill.INSERT) private String createBy; /** 鍒涘缓鏃堕棿 */ @@ -76,6 +78,7 @@ private Date createTime; /** 鏇存柊鑰� */ + @TableField(fill = FieldFill.INSERT_UPDATE) private String updateBy; /** 鏇存柊鏃堕棿 */ -- Gitblit v1.9.3