From 38f9471ecf47b7c15b352113bc0f5a2ec1e64e7b Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 16 七月 2024 09:24:13 +0800 Subject: [PATCH] 登录返回vo修改,个人中心接口,用户列表权限验证 --- src/main/java/com/ycl/jxkg/domain/entity/UserEventLog.java | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/domain/entity/UserEventLog.java b/src/main/java/com/ycl/jxkg/domain/entity/UserEventLog.java index 5262fed..7d09bb3 100644 --- a/src/main/java/com/ycl/jxkg/domain/entity/UserEventLog.java +++ b/src/main/java/com/ycl/jxkg/domain/entity/UserEventLog.java @@ -1,16 +1,13 @@ package com.ycl.jxkg.domain.entity; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableName; -import com.ycl.jxkg.domain.base.AbsEntity; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; -import java.io.Serializable; import java.util.Date; @Data @TableName("t_user_event_log") -public class UserEventLog extends AbsEntity { +public class UserEventLog{ public UserEventLog() { @@ -23,6 +20,8 @@ this.createTime = createTime; } + @TableId(value = "id", type = IdType.AUTO) + private Integer id; /** * 鐢ㄦ埛id */ @@ -50,7 +49,7 @@ /** * 鏃堕棿 */ - @TableField("create_time") + @TableField(value = "create_time", fill = FieldFill.INSERT) private Date createTime; } -- Gitblit v1.8.0