From 2bd69d1dca40d2fdf07f72e0117d2f0febde5359 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Sat, 23 Dec 2023 15:27:02 +0800
Subject: [PATCH] 新增民警楼盘,功能数据过滤
---
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