From 55d677758efadb6d42e6d4e595cecc2c50c20d5a Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Sat, 23 Dec 2023 17:19:12 +0800
Subject: [PATCH] bug修复
---
src/main/java/org/springblade/modules/grid/entity/GridWorkLogEntity.java | 34 ++++++++++++++++++++++++++++++----
1 files changed, 30 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/springblade/modules/grid/entity/GridWorkLogEntity.java b/src/main/java/org/springblade/modules/grid/entity/GridWorkLogEntity.java
index 9e2abc8..2221206 100644
--- a/src/main/java/org/springblade/modules/grid/entity/GridWorkLogEntity.java
+++ b/src/main/java/org/springblade/modules/grid/entity/GridWorkLogEntity.java
@@ -32,6 +32,7 @@
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;
import org.springframework.format.annotation.DateTimeFormat;
+import sun.rmi.runtime.Log;
/**
* 网格工作日志表 实体类
@@ -58,15 +59,32 @@
*/
@ApiModelProperty(value = "房屋编号")
private String houseCode;
+
/**
- * 走访人姓名
+ * 走访类型
*/
- @ApiModelProperty(value = "走访人姓名")
+ @ApiModelProperty(value = "走访类型")
+ private Integer type;
+ /**
+ * 重点人员类型
+ */
+ @ApiModelProperty(value = "重点人员类型")
+ private Integer personType;
+ /**
+ * 被访人用户id
+ */
+ @ApiModelProperty(value = "被访人用户id")
+ private Long householdId;
+
+ /**
+ * 被访人姓名
+ */
+ @ApiModelProperty(value = "被访人姓名")
private String name;
/**
- * 走访人电话
+ * 被访人电话
*/
- @ApiModelProperty(value = "走访人电话")
+ @ApiModelProperty(value = "被访人电话")
private String phone;
/**
* 内容
@@ -80,6 +98,14 @@
private String url;
/**
+ * 走访时间
+ */
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ @ApiModelProperty("走访时间")
+ private Date workTime;
+
+ /**
* 创建人
*/
@JsonSerialize(using = ToStringSerializer.class)
--
Gitblit v1.9.3