From 8546b3d285af4235a0ef615a0c6e89486ae2c806 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 17 十月 2024 21:01:37 +0800 Subject: [PATCH] 达梦不支持value改为values --- src/main/java/com/ycl/jxkg/domain/entity/User.java | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/domain/entity/User.java b/src/main/java/com/ycl/jxkg/domain/entity/User.java index bf68076..36717a6 100644 --- a/src/main/java/com/ycl/jxkg/domain/entity/User.java +++ b/src/main/java/com/ycl/jxkg/domain/entity/User.java @@ -1,8 +1,10 @@ package com.ycl.jxkg.domain.entity; +import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.ycl.jxkg.domain.base.AbsEntity; +import com.ycl.jxkg.enums.general.YesOrNoEnum; import lombok.Data; import java.io.Serializable; @@ -69,10 +71,10 @@ @TableField("image_path") private String imagePath; - @TableField("create_time") + @TableField(value = "create_time", fill = FieldFill.INSERT) private Date createTime; - @TableField("modify_time") + @TableField(value = "modify_time", fill = FieldFill.INSERT_UPDATE) private Date modifyTime; @TableField("last_active_time") @@ -84,4 +86,10 @@ @TableField("wx_open_id") private String wxOpenId; + @TableField("last_update_password_time") + /** + * 涓婁竴娆′慨鏀瑰瘑鐮佺殑鏃堕棿 + */ + private Date lastUpdatePasswordTime; + } -- Gitblit v1.8.0