From cc1239bf95ee3f1880b0b4fa462a7fd40664cfb2 Mon Sep 17 00:00:00 2001 From: xiebin <123456> Date: Thu, 22 Sep 2022 16:41:53 +0800 Subject: [PATCH] 图片服务器地址更换 --- src/main/java/org/springblade/modules/recovery/entity/Recovery.java | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/springblade/modules/recovery/entity/Recovery.java b/src/main/java/org/springblade/modules/recovery/entity/Recovery.java index 02a70bf..062740d 100644 --- a/src/main/java/org/springblade/modules/recovery/entity/Recovery.java +++ b/src/main/java/org/springblade/modules/recovery/entity/Recovery.java @@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; +import org.springblade.core.tenant.mp.TenantEntity; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; @@ -24,7 +25,7 @@ * 主键id */ @TableId(value = "id",type = IdType.AUTO) - private Integer id; + private Long id; /** * 种植记录id @@ -34,7 +35,7 @@ /** * 品种id */ - private Integer strainId; + private String strainId; /** * 土地id @@ -60,8 +61,8 @@ /** * 采收时间 */ - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") - @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") + @DateTimeFormat(pattern = "yyyy-MM-dd") private Date time; /** @@ -82,8 +83,14 @@ private Date createTime; /** - * 溯源码编号 + * 农场id */ - private String code; + private String deptId; + + + /** + * 租户id + */ + private String tenantId; } -- Gitblit v1.9.3