From 2e64c232ab6b51b2cecf1ee96e1e9b709234f326 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期六, 21 八月 2021 16:35:14 +0800 Subject: [PATCH] 随手拍改版接口开发 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/visit/EventVisitingTasksVO.java | 47 ++++++++++++++++++++++++++++++++--------------- 1 files changed, 32 insertions(+), 15 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/visit/EventVisitingTasksVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/visit/EventVisitingTasksVO.java index ec7b1ea..824220c 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/visit/EventVisitingTasksVO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/visit/EventVisitingTasksVO.java @@ -1,7 +1,10 @@ package com.panzhihua.common.model.vos.visit; +import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; import com.alibaba.excel.annotation.ExcelProperty; import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.panzhihua.common.enums.EventTasksStatusEnum; import com.panzhihua.common.enums.EventTasksVisitorTypeEnum; import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; @@ -21,71 +24,77 @@ * */ @Data @ApiModel("重点人群走访记录返回参数") +@ExcelIgnoreUnannotated @EncryptDecryptClass public class EventVisitingTasksVO { @ApiModelProperty(value = "id") + @JsonSerialize(using = ToStringSerializer.class) private Long id; - @ExcelProperty(value = "序号",index = 0) - private Integer rowNum; +// @ExcelProperty(value = "序号",index = 0) +// private Integer rowNum; - @ExcelProperty(value = "创建时间",index = 1) + @ExcelProperty(value = "创建时间",index = 0) @ApiModelProperty(value = "创建时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date createAt; - @ExcelProperty(value = "创建人",index = 2) + @ExcelProperty(value = "创建人",index = 1) @ApiModelProperty(value = "创建人") private String creator; - @ExcelProperty(value = "走访对象",index = 3) + @ExcelProperty(value = "走访对象",index = 2) @ApiModelProperty(value = "需走访人名字") private String visiterName; - - @ExcelProperty(value = "身份证号码",index = 4) + @ExcelProperty(value = "身份证号码",index = 3) @ApiModelProperty(value = "身份证号码") + @EncryptDecryptField private String cardNoStr; - @ExcelProperty(value = "走访地址",index = 5) + @ExcelProperty(value = "走访地址",index = 4) @ApiModelProperty(value = "走访地址") private String visiterAddress; - @ExcelProperty(value = "人员标签",index = 6) + @ExcelProperty(value = "人员标签",index = 5) @ApiModelProperty(value = "人员标签") private String visiterTypeName; - @ExcelProperty(value = "走访人",index = 7) + @ExcelProperty(value = "走访人",index = 6) @ApiModelProperty(value = "走访人") private String dellUserName; - @ExcelProperty(value = "完成走访时间",index = 8) + @ExcelProperty(value = "完成走访时间",index = 7) @ApiModelProperty(value = "完成走访时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date submitDate; - @ExcelProperty(value = "撤销时间",index = 9) + @ExcelProperty(value = "撤销时间",index = 8) @ApiModelProperty(value = "撤销时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date cancelTime; - @ExcelProperty(value = "状态",index = 10) + @ExcelProperty(value = "状态",index = 9) @ApiModelProperty(value = "状态") private String eventStatusName; @ApiModelProperty(value = "需走访人ID") + @JsonSerialize(using = ToStringSerializer.class) private Long visiterId; @ApiModelProperty(value = "网格员所处的街道") + @JsonSerialize(using = ToStringSerializer.class) private Long gridMemberStreet; @ApiModelProperty(value = "网格员所处社区") + @JsonSerialize(using = ToStringSerializer.class) private Long gridMemberCommunity; @ApiModelProperty(value = "网格员") + @JsonSerialize(using = ToStringSerializer.class) private Long gridMember; @ApiModelProperty(value = "网格员名字") @@ -94,6 +103,8 @@ @ApiModelProperty(value = "网格员联系方式") private String gridMenberTele; + @ApiModelProperty(value = "所属网格") + private String gridName; @ApiModelProperty(value = "需走访人员性别") private Integer visiterSex; @@ -149,6 +160,7 @@ private Integer dellType; @ApiModelProperty(value = "处理人ID") + @JsonSerialize(using = ToStringSerializer.class) private Long dellUserId; @@ -171,17 +183,19 @@ private Boolean urgentDell; - @ApiModelProperty(value = "是否异常行为") - private Boolean exception; + @ApiModelProperty(value = "是否异常行为(1.是 0.否)") + private Integer exception; @ApiModelProperty(value = "走访内容根据重点人员类型输入项不同,录入全部的表单内容数据") private String tableContentJson; @ApiModelProperty(value = "创建人id") + @JsonSerialize(using = ToStringSerializer.class) private Long createBy; @ApiModelProperty(value = "修改人") + @JsonSerialize(using = ToStringSerializer.class) private Long updateBy; @ApiModelProperty(value = "修改时间") @@ -202,5 +216,8 @@ @ApiModelProperty(value = "民族") private String nation; + @ApiModelProperty(value = "政治面貌(1.中共党员2.中共预备党员3.共青团员4.民革党员5.民盟盟员6.民建会员7.8.农工党党员9.致公党党员10.九三学社社员11.台盟盟员12.无党派人士13.群众)") + private Integer politicalOutlook; + } -- Gitblit v1.7.1