From a0aeb5680c8c20ffbe7d89fd32c2703bc5d1be53 Mon Sep 17 00:00:00 2001 From: starrysky <838252223@qq.com> Date: Sat, 3 Aug 2019 14:42:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E8=B5=84=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/me/zhengjie/modules/wms/bd/domain/SupplierInfo.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eladmin-system/src/main/java/me/zhengjie/modules/wms/bd/domain/SupplierInfo.java b/eladmin-system/src/main/java/me/zhengjie/modules/wms/bd/domain/SupplierInfo.java index 2bbed563..b787eb20 100644 --- a/eladmin-system/src/main/java/me/zhengjie/modules/wms/bd/domain/SupplierInfo.java +++ b/eladmin-system/src/main/java/me/zhengjie/modules/wms/bd/domain/SupplierInfo.java @@ -3,6 +3,8 @@ package me.zhengjie.modules.wms.bd.domain; import lombok.Data; import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.copier.CopyOptions; +import org.hibernate.annotations.CreationTimestamp; + import javax.persistence.*; import java.sql.Timestamp; import java.io.Serializable; @@ -35,10 +37,12 @@ public class SupplierInfo implements Serializable { // 创建时间 @Column(name = "create_time") + @CreationTimestamp private Timestamp createTime; // 更新时间 @Column(name = "update_time") + @CreationTimestamp private Timestamp updateTime; // 备注