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/UserToken.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/domain/entity/UserToken.java b/src/main/java/com/ycl/jxkg/domain/entity/UserToken.java index 23ce70d..f7db614 100644 --- a/src/main/java/com/ycl/jxkg/domain/entity/UserToken.java +++ b/src/main/java/com/ycl/jxkg/domain/entity/UserToken.java @@ -1,5 +1,6 @@ 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; @@ -33,7 +34,7 @@ /** * 鍒涘缓鏃堕棿 */ - @TableField("create_time") + @TableField(value = "create_time", fill = FieldFill.INSERT) private Date createTime; /** -- Gitblit v1.8.0