mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 15:55:18 +08:00
完善更新时间
This commit is contained in:
@@ -60,9 +60,7 @@ public class BaseEntity {
|
|||||||
|
|
||||||
this.updateUserId = Ctx.isLoggedIn() ? Ctx.getUserId() : "";
|
this.updateUserId = Ctx.isLoggedIn() ? Ctx.getUserId() : "";
|
||||||
|
|
||||||
if (this.updateTime == null) {
|
this.updateTime = LocalDateTime.now();
|
||||||
this.updateTime = LocalDateTime.now();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user