From 86df207c37502cce1b2043e1c7c0486459eef1d6 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期四, 13 三月 2025 19:58:45 +0800 Subject: [PATCH] 党员、诉求评论基础代码 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngPopulationServeExcelVO.java | 168 ++++++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 127 insertions(+), 41 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngPopulationServeExcelVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngPopulationServeExcelVO.java index 59abcbf..7b48bd8 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngPopulationServeExcelVO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngPopulationServeExcelVO.java @@ -1,23 +1,29 @@ package com.panzhihua.common.model.vos.community; +import java.io.Serializable; +import java.util.Date; +import java.util.List; + import com.alibaba.excel.annotation.ExcelProperty; import com.google.common.collect.Lists; -import lombok.Data; +import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; +import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; -import java.io.Serializable; -import java.util.List; +import lombok.Data; /** * @description: 批量导入实有人口 * @author: llming */ @Data +@EncryptDecryptClass public class ComMngPopulationServeExcelVO implements Serializable { @ExcelProperty(value = "姓名", index = 0) private String name; @ExcelProperty(value = "身份证号码", index = 1) + @EncryptDecryptField private String cardNo; @ExcelProperty(value = "民族", index = 2) @@ -31,11 +37,12 @@ @ExcelProperty(value = "与户主关系(1.户主 2.配偶 3.子女 4.孙女 5.父母 6.其他)", index = 5) private Integer relation; + private String relationStr; - @ExcelProperty(value = "街路巷", index = 6) + @ExcelProperty(value = "街/路/巷", index = 6) private String road; - @ExcelProperty(value = "门牌号", index = 7) + @ExcelProperty(value = "小区号", index = 7) private String doorNo; @ExcelProperty(value = "楼排号", index = 8) @@ -47,44 +54,127 @@ @ExcelProperty(value = "户室(房间号)", index = 10) private String houseNo; - @ExcelProperty(value = "联系方式", index = 11) - private String phone; + @ExcelProperty(value = "建筑用途", index = 11) + private String buildPurpose; - @ExcelProperty(value = "籍贯", index = 12) - private String nativePlace; + @ExcelProperty(value = "建筑面积", index = 12) + private String buildArea; - @ExcelProperty(value = "文化程度(1.小学 2.初中 3.高中 4.中专 5.大专 6.本科 7.硕士 8.博士 9.其他)", index = 13) - private Integer cultureLevel; - - @ExcelProperty(value = "婚姻状况(1.未婚 2.已婚 3.离异 4.丧偶 5.分居 6.其他)", index = 14) - private Integer marriage; - - @ExcelProperty(value = "健康状况", index = 15) - private String healthy; - - @ExcelProperty(value = "工作单位", index = 16) - private String workCompany; - - @ExcelProperty(value = "备注", index = 17) - private String remark; - - @ExcelProperty(value = "户口所在地", index = 18) - private String censusRegister; - - @ExcelProperty(value = "外地or本地(1.本地 2.外地)", index = 19) - private Integer outOrLocal; - - @ExcelProperty(value = "房屋状态(1.自住 2.租住 3.其他)", index = 20) + @ExcelProperty(value = "房屋状态(1.自住 2.租住 3.其他)", index = 13) private Integer houseStatus; - @ExcelProperty(value = "房屋用途(1.住宅 2.公寓 3.宿舍 4.仓库 5.其他)", index = 21) + @ExcelProperty(value = "房屋用途(1.住宅 2.公寓 3.宿舍 4.仓库 5.其他)", index = 14) private Integer housePurpose; - @ExcelProperty(value = "管控状态(1.常规 2.关注 3.管控)", index = 22) + @ExcelProperty(value = "管控状态(1.常规 2.关注 3.管控)", index = 15) private Integer controlStatus; - @ExcelProperty(value = "是否是居住地(1.是 2.否)", index = 23) - private Integer isResidence; + @ExcelProperty(value = "联系方式", index = 16) + private String phone; + + @ExcelProperty(value = "籍贯", index = 17) + private String nativePlace; + + @ExcelProperty(value = "文化程度(1.小学 2.初中 3.高中 4.中专 5.大专 6.本科 7.硕士 8.博士 9.其他)", index = 18) + private Integer cultureLevel; + + @ExcelProperty(value = "婚姻状况(1.未婚 2.已婚 3.离异 4.丧偶 5.分居 6.其他)", index = 19) + private Integer marriage; + + private String marriageStr; + + @ExcelProperty(value = "健康状况", index = 20) + private String healthy; + + @ExcelProperty(value = "血型", index = 21) + private String bloodType; + + @ExcelProperty(value = "宗教信仰", index = 22) + private String religion; + + @ExcelProperty(value = "职业", index = 23) + private String profession; + + @ExcelProperty(value = "工作单位/学校", index = 24) + private String workCompany; + + @ExcelProperty(value = "外地/本地(1.本地 2.外地)", index = 25) + private Integer outOrLocal; + + @ExcelProperty(value = "户口所在地", index = 26) + private String censusRegister; + + @ExcelProperty(value = "是否居住地 1是 、0否", index = 27) + private Integer residence; + + @ExcelProperty(value = "居住地址", index = 28) + private String address; + + @ExcelProperty(value = "人员类型(1、户籍人口2、留守人员3、外地人员4、境外人员5、流动人口6、常住人口7、暂住人口)", index = 29) + private Integer personType; + + @ExcelProperty(value = "国家", index = 30) + private String country; + + @ExcelProperty(value = "离开日期(境外人员填写)", index = 31) + private Date dateOfDeparture; + + @ExcelProperty(value = "人员状态", index = 32) + private String personStatus; + + @ExcelProperty(value = "月收入情况", index = 33) + private String monthlyIncome; + + @ExcelProperty(value = "家庭情况", index = 34) + private String familyStatus; + + @ExcelProperty(value = "来华目的(境外人员填写)", index = 35) + private String goalInChina; + + @ExcelProperty(value = "抵达日期(境外人员填写)", index = 36) + private Date dateOfArrival; + + @ExcelProperty(value = "备注", index = 37) + private String remark; + + @ExcelProperty(value = "证件照(人面像)照片", index = 38) + private String idCardPositive; + + @ExcelProperty(value = "证件照(国徽面)照片", index = 39) + private String idCardBack; + + @ExcelProperty(value = "户口本照片", index = 40) + private String houseHold; + + @ExcelProperty(value = "是否死亡(是/否)", index = 41) + private Integer death; + + @ExcelProperty(value = "退役军人(是/否)", index = 42) + private Integer veterans; + + @ExcelProperty(value = "残疾人(是/否)", index = 43) + private Integer disabled; + + @ExcelProperty(value = "低保户(是/否)", index = 44) + private Integer lowIncomeHold; + + @ExcelProperty(value = "低收入人员(是/否)", index = 45) + private Integer lowIncome; + + @ExcelProperty(value = "高龄老人(是/否)", index = 46) + private Integer elder; + + @ExcelProperty(value = "特服家庭(是/否)", index = 47) + private Integer specialFamily; + + @ExcelProperty(value = "重点人员(是/否)", index = 48) + private Integer important; + + @ExcelProperty(value = "特殊情况(重大病史/孕)(是/否)", index = 49) + private Integer specialCase; + + @ExcelProperty(value = "错误信息", index = 50) + private Integer mistake; /** * 去重字段,使用(姓名+身份证号+街路巷+小区号+楼牌号+单元号+户室)组合字段进行MD5加密实现去重 @@ -97,7 +187,7 @@ private Integer age; /** - * 性别(1.男 2.女) + * 性别(1.男 2.女) */ private Integer sex; @@ -107,14 +197,10 @@ private String birthday; /** - * 房屋地址 - */ - private String address; - - /** * 扩展字段用逗号隔开 */ private List<String> userTagStr = Lists.newArrayList(); + private Long houseId; } -- Gitblit v1.7.1