17 changed files with 298 additions and 85 deletions
@ -0,0 +1,20 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2022/3/21 15:11 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class CommunityListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 4336149113821131764L; |
|||
|
|||
private String orgId; |
|||
|
|||
private String orgName; |
|||
} |
@ -0,0 +1,48 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import cn.afterturn.easypoi.excel.annotation.Excel; |
|||
import cn.afterturn.easypoi.excel.annotation.ExcelCollection; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2022/3/18 19:00 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class CollectListExcelResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -5659769436514116680L; |
|||
/** |
|||
* 户主姓名 |
|||
*/ |
|||
@Excel(name = "户主姓名",width = 30, needMerge = true) |
|||
private String houseHolderName; |
|||
|
|||
/** |
|||
* 居住地址 |
|||
*/ |
|||
@Excel(name = "居住地址",width = 40, needMerge = true) |
|||
private String address; |
|||
|
|||
/** |
|||
* 房屋类型,1:自有, 0:租住 |
|||
*/ |
|||
@Excel(name = "房屋类型",replace = { "自有_1", "租住_2"}, width = 30, needMerge = true) |
|||
private String houseType; |
|||
|
|||
/** |
|||
* 居住人数 |
|||
*/ |
|||
@Excel(name = "居住成员人数",width = 30, needMerge = true) |
|||
private Integer totalResi; |
|||
|
|||
@ExcelCollection(name="家庭成员") |
|||
private List<CollectListMemberExcelResultDTO> listP = new ArrayList<>(); |
|||
|
|||
|
|||
} |
@ -0,0 +1,48 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import cn.afterturn.easypoi.excel.annotation.Excel; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* desc: |
|||
* |
|||
* @author: LiuJanJun |
|||
* @date: 2022/3/21 5:09 下午 |
|||
* @version: 1.0 |
|||
*/ |
|||
@Data |
|||
public class CollectListMemberExcelResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -4290962585956172531L; |
|||
/** |
|||
* 成员名字 |
|||
*/ |
|||
@Excel(name = "成员姓名", width = 30) |
|||
private String memberName; |
|||
|
|||
/** |
|||
* 成员身份证 |
|||
*/ |
|||
@Excel(name = "成员身份证号", width = 30) |
|||
private String memberIdNum; |
|||
|
|||
/** |
|||
* 成员电话 |
|||
*/ |
|||
@Excel(name = "成员手机号", width = 30) |
|||
private String memberMobile; |
|||
|
|||
/** |
|||
* 核酸检测次数 |
|||
*/ |
|||
@Excel(name = "参加几轮核酸检测", width = 30) |
|||
private String heSuanCount = "0"; |
|||
|
|||
/** |
|||
* 疫苗是否全程接种,1:全程接种,2:未全程接种,3:为接种 |
|||
*/ |
|||
@Excel(name = "疫苗接种情况",replace = { "全程接种_1", "未全程接种_2", "未接种_3" }, width = 30) |
|||
private String ymjz; |
|||
|
|||
} |
@ -0,0 +1,42 @@ |
|||
CREATE TABLE `ic_resi_collect` ( |
|||
`ID` varchar(64) NOT NULL COMMENT '主键', |
|||
`CUSTOMER_ID` varchar(64) NOT NULL COMMENT '客户Id customer.id', |
|||
`ORIGIN` varchar(32) NOT NULL COMMENT '内部:internal;外部:external。', |
|||
`GRID_ID` varchar(64) DEFAULT NULL COMMENT '网格ID', |
|||
`AGENCY_ID` varchar(64) DEFAULT NULL COMMENT '组织Id', |
|||
`PIDS` varchar(255) DEFAULT NULL COMMENT '组织的pids', |
|||
`VILLAGE_ID` varchar(64) DEFAULT NULL COMMENT '所属小区ID;', |
|||
`BUILD_ID` varchar(64) DEFAULT NULL COMMENT '所属楼宇Id', |
|||
`UNIT_ID` varchar(64) DEFAULT NULL COMMENT '单元id', |
|||
`HOME_ID` varchar(64) DEFAULT NULL COMMENT '所属家庭Id', |
|||
`ADDRESS` varchar(255) NOT NULL COMMENT '详细地址', |
|||
`HOUSE_TYPE` varchar(1) NOT NULL COMMENT '1自由0租住', |
|||
`HOUSE_HOLDER_NAME` varchar(32) NOT NULL COMMENT '户主姓名', |
|||
`TOTAL_RESI` int(11) NOT NULL COMMENT '居住成员人数', |
|||
`DEL_FLAG` int(11) NOT NULL DEFAULT '0' COMMENT '删除标识 0.未删除 1.已删除', |
|||
`REVISION` int(11) NOT NULL COMMENT '乐观锁', |
|||
`CREATED_BY` varchar(64) NOT NULL COMMENT '创建人', |
|||
`CREATED_TIME` datetime NOT NULL COMMENT '创建时间', |
|||
`UPDATED_BY` varchar(64) NOT NULL COMMENT '更新人', |
|||
`UPDATED_TIME` datetime NOT NULL COMMENT '更新时间', |
|||
PRIMARY KEY (`ID`) USING BTREE |
|||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='居民信息采集表'; |
|||
|
|||
|
|||
CREATE TABLE `ic_resi_member` ( |
|||
`ID` varchar(64) NOT NULL COMMENT '主键', |
|||
`CUSTOMER_ID` varchar(64) NOT NULL COMMENT '客户Id customer.id', |
|||
`IC_RESI_COLLECT_ID` varchar(64) NOT NULL COMMENT 'ic_resi_colllect.id', |
|||
`NAME` varchar(32) NOT NULL COMMENT '居住成员1姓名', |
|||
`ID_NUM` varchar(32) NOT NULL COMMENT '居住成员1身份证号', |
|||
`MOBILE` varchar(32) NOT NULL COMMENT '居住成员1手机号', |
|||
`HE_SUAN_COUNT` varchar(32) NOT NULL COMMENT '居住成员1是否参加几轮全员核算检测,数字1-10', |
|||
`YMJZ` int(11) NOT NULL COMMENT '居住成员1新冠疫苗接种情况;1:已全程接种;2:未全程接种;0未接种;', |
|||
`DEL_FLAG` int(11) NOT NULL DEFAULT '0' COMMENT '删除标识 0.未删除 1.已删除', |
|||
`REVISION` int(11) NOT NULL COMMENT '乐观锁', |
|||
`CREATED_BY` varchar(64) NOT NULL COMMENT '创建人', |
|||
`CREATED_TIME` datetime NOT NULL COMMENT '创建时间', |
|||
`UPDATED_BY` varchar(64) NOT NULL COMMENT '更新人', |
|||
`UPDATED_TIME` datetime NOT NULL COMMENT '更新时间', |
|||
PRIMARY KEY (`ID`) USING BTREE |
|||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='居民信息成员表'; |
Loading…
Reference in new issue