From cae3988dc0e0759f6634da4edcc6d69f319a6c0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98=E5=BA=86=E5=90=89?= <51312040@qq.com> Date: Mon, 18 Jan 2021 19:55:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9string?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall/ebtp/common/base/entity/BaseCacheUser.java | 2 +- .../chinaunicom/mall/ebtp/common/base/entity/BaseEntity.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/entity/BaseCacheUser.java b/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/entity/BaseCacheUser.java index 6e529ce..6a8e5b8 100644 --- a/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/entity/BaseCacheUser.java +++ b/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/entity/BaseCacheUser.java @@ -19,7 +19,7 @@ public class BaseCacheUser { /** * PKID */ - private Long userId; + private String userId; /** * 姓名 diff --git a/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/entity/BaseEntity.java b/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/entity/BaseEntity.java index bd088b1..b5cd3d8 100644 --- a/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/entity/BaseEntity.java +++ b/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/entity/BaseEntity.java @@ -21,7 +21,7 @@ public class BaseEntity implements Serializable { @TableField(fill = FieldFill.INSERT) @ApiModelProperty(value = "创建者") - private Long createBy; + private String createBy; @TableField(fill = FieldFill.INSERT,typeHandler = CustomLocalDateTimeTypeHandler.class) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @@ -31,7 +31,7 @@ public class BaseEntity implements Serializable { @TableField(fill = FieldFill.UPDATE) @ApiModelProperty(value = "更新者") - private Long updateBy; + private String updateBy; @TableField(fill = FieldFill.UPDATE,typeHandler = CustomLocalDateTimeTypeHandler.class) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")