From a180c14ebe5560244f451831d4009423f392369f Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 30 十月 2024 21:53:59 +0800 Subject: [PATCH] bug --- src/main/java/com/ycl/jxkg/domain/entity/Classes.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/domain/entity/Classes.java b/src/main/java/com/ycl/jxkg/domain/entity/Classes.java index a8af373..8956d34 100644 --- a/src/main/java/com/ycl/jxkg/domain/entity/Classes.java +++ b/src/main/java/com/ycl/jxkg/domain/entity/Classes.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; @@ -53,6 +54,6 @@ /** 澶囨敞 */ private String remark; - @TableField("create_time") + @TableField(value = "create_time", fill = FieldFill.INSERT) private Date createTime; } -- Gitblit v1.8.0