diff --git a/epmet-module/epmet-job/epmet-job-server/pom.xml b/epmet-module/epmet-job/epmet-job-server/pom.xml
index b0a4d6f1e5..1e0d00c9ba 100644
--- a/epmet-module/epmet-job/epmet-job-server/pom.xml
+++ b/epmet-module/epmet-job/epmet-job-server/pom.xml
@@ -114,6 +114,12 @@
2.0.0
compile
+
+ com.epmet
+ open-data-worker-client
+ 2.0.0
+ compile
+
diff --git a/epmet-module/epmet-job/epmet-job-server/src/main/java/com/epmet/task/GuardarDatosTask.java b/epmet-module/epmet-job/epmet-job-server/src/main/java/com/epmet/task/GuardarDatosTask.java
new file mode 100644
index 0000000000..4a1376a5fd
--- /dev/null
+++ b/epmet-module/epmet-job/epmet-job-server/src/main/java/com/epmet/task/GuardarDatosTask.java
@@ -0,0 +1,41 @@
+package com.epmet.task;
+
+import com.alibaba.fastjson.JSON;
+import com.epmet.commons.tools.utils.Result;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.feign.GuardarDatosFeignClient;
+import lombok.extern.slf4j.Slf4j;
+import org.apache.commons.lang3.StringUtils;
+import org.springframework.stereotype.Component;
+
+import javax.annotation.Resource;
+
+/**
+ * 获取流动人口的数据存入ca_开头的表
+ *
+ * @param
+ * @author LZN
+ * @return
+ * @date 2022/6/6 14:39
+ */
+@Component("guardarDatosTask")
+@Slf4j
+public class GuardarDatosTask implements ITask {
+
+ @Resource
+ private GuardarDatosFeignClient guardarDatosFeignClient;
+
+ @Override
+ public void run(String params) {
+ PreserVationFormDTO formDTO = new PreserVationFormDTO();
+ if (StringUtils.isNotBlank(params)) {
+ formDTO = JSON.parseObject(params, PreserVationFormDTO.class);
+ }
+ Result result = guardarDatosFeignClient.guardarDatosTask(formDTO);
+ if (result.success()) {
+ log.debug("定时任务执行成功");
+ } else {
+ log.debug("定时任务执行失败" + result.getMsg());
+ }
+ }
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/ca/CaLoudongDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/ca/CaLoudongDTO.java
new file mode 100644
index 0000000000..09d3628f2a
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/ca/CaLoudongDTO.java
@@ -0,0 +1,235 @@
+package com.epmet.opendata.dto.ca;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+import java.math.BigDecimal;
+
+/**
+ * 楼栋基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Data
+public class CaLoudongDTO implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 楼栋ID
+ */
+ private Long buildingId;
+
+ /**
+ * 楼宇类型
+ */
+ private String buildingType;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 楼宇名称
+ */
+ private String buildingName;
+
+ /**
+ * 用途分类
+ */
+ private String buildingUse;
+
+ /**
+ * 楼宇状态
+ */
+ private String buildingStatus;
+
+ /**
+ * 楼宇结构
+ */
+ private String buildingStructure;
+
+ /**
+ * 使用现状
+ */
+ private String buildingUseage;
+
+ /**
+ * 建筑时间
+ */
+ private Date constructionTime;
+
+ /**
+ * 所处位置
+ */
+ private String buildingAddr;
+
+ /**
+ * 小区(单位)名称
+ */
+ private String communityName;
+
+ /**
+ * 楼栋长
+ */
+ private String buildingLeader;
+
+ /**
+ * 楼层数
+ */
+ private Integer layerCount;
+
+ /**
+ * 地下楼层数
+ */
+ private Integer basementLayerCount;
+
+ /**
+ * 住宅开始层数
+ */
+ private Integer houseBeginLayer;
+
+ /**
+ * 单元数
+ */
+ private Integer unitCount;
+
+ /**
+ * 每层每单元户数
+ */
+ private Integer layerRoomCount;
+
+ /**
+ * 总房屋数
+ */
+ private Integer roomCount;
+
+ /**
+ * 电梯数量
+ */
+ private String elevatorCount;
+
+ /**
+ * 建筑面积
+ */
+ private String buildingArea;
+
+ /**
+ * 物业公司
+ */
+ private String buildingPmc;
+
+ /**
+ * 介绍
+ */
+ private String buildingDesc;
+
+ /**
+ * 标绘状态
+ */
+ private String pointStatus;
+
+ /**
+ * 经度
+ */
+ private BigDecimal longitude;
+
+ /**
+ * 纬度
+ */
+ private BigDecimal latitude;
+
+ /**
+ * 数据来源
+ */
+ private String platCode;
+
+ /**
+ * 创建人
+ */
+ private Long createBy;
+
+ /**
+ * 创建时间
+ */
+ private Date createDate;
+
+ /**
+ * 最后修改人
+ */
+ private Long updateBy;
+
+ /**
+ * 最后修改时间
+ */
+ private Date updateDate;
+
+ /**
+ * 删除状态
+ */
+ private String deleteFlag;
+
+ /**
+ * 乐观锁
+ */
+ private Integer versions;
+
+ /**
+ * 扩展字段1
+ */
+ private String attribute1;
+
+ /**
+ * 扩展字段2
+ */
+ private String attribute2;
+
+ /**
+ * 扩展字段3
+ */
+ private String attribute3;
+
+ /**
+ * 扩展字段4
+ */
+ private String attribute4;
+
+ /**
+ * 扩展字段5
+ */
+ private String attribute5;
+
+ /**
+ * 小区主键
+ */
+ private Long attribute6;
+
+ /**
+ * 扩展字段7
+ */
+ private Long attribute7;
+
+ /**
+ * 扩展字段8
+ */
+ private Long attribute8;
+
+ /**
+ * 扩展字段9
+ */
+ private Date attribute9;
+
+ /**
+ * 扩展字段10
+ */
+ private Date attribute10;
+
+ /**
+ * 小区主键
+ */
+ private String communityId;
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/ca/CaPingfangDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/ca/CaPingfangDTO.java
new file mode 100644
index 0000000000..39456014b9
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/ca/CaPingfangDTO.java
@@ -0,0 +1,235 @@
+package com.epmet.opendata.dto.ca;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+import java.math.BigDecimal;
+
+/**
+ *
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Data
+public class CaPingfangDTO implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 楼栋ID
+ */
+ private Long buildingId;
+
+ /**
+ * 楼宇类型
+ */
+ private String buildingType;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 楼宇名称
+ */
+ private String buildingName;
+
+ /**
+ * 用途分类
+ */
+ private String buildingUse;
+
+ /**
+ * 楼宇状态
+ */
+ private String buildingStatus;
+
+ /**
+ * 楼宇结构
+ */
+ private String buildingStructure;
+
+ /**
+ * 使用现状
+ */
+ private String buildingUseage;
+
+ /**
+ * 建筑时间
+ */
+ private Date constructionTime;
+
+ /**
+ * 所处位置
+ */
+ private String buildingAddr;
+
+ /**
+ * 小区(单位)名称
+ */
+ private String communityName;
+
+ /**
+ * 楼栋长
+ */
+ private String buildingLeader;
+
+ /**
+ * 楼层数
+ */
+ private Integer layerCount;
+
+ /**
+ * 地下楼层数
+ */
+ private Integer basementLayerCount;
+
+ /**
+ * 住宅开始层数
+ */
+ private Integer houseBeginLayer;
+
+ /**
+ * 单元数
+ */
+ private Integer unitCount;
+
+ /**
+ * 每层每单元户数
+ */
+ private Integer layerRoomCount;
+
+ /**
+ * 总房屋数
+ */
+ private Integer roomCount;
+
+ /**
+ * 电梯数量
+ */
+ private String elevatorCount;
+
+ /**
+ * 建筑面积
+ */
+ private String buildingArea;
+
+ /**
+ * 物业公司
+ */
+ private String buildingPmc;
+
+ /**
+ * 介绍
+ */
+ private String buildingDesc;
+
+ /**
+ * 标绘状态
+ */
+ private String pointStatus;
+
+ /**
+ * 经度
+ */
+ private BigDecimal longitude;
+
+ /**
+ * 纬度
+ */
+ private BigDecimal latitude;
+
+ /**
+ * 数据来源
+ */
+ private String platCode;
+
+ /**
+ * 创建人
+ */
+ private Long createBy;
+
+ /**
+ * 创建时间
+ */
+ private Date createDate;
+
+ /**
+ * 最后修改人
+ */
+ private Long updateBy;
+
+ /**
+ * 最后修改时间
+ */
+ private Date updateDate;
+
+ /**
+ * 删除状态
+ */
+ private String deleteFlag;
+
+ /**
+ * 乐观锁
+ */
+ private Integer versions;
+
+ /**
+ * 扩展字段1
+ */
+ private String attribute1;
+
+ /**
+ * 扩展字段2
+ */
+ private String attribute2;
+
+ /**
+ * 扩展字段3
+ */
+ private String attribute3;
+
+ /**
+ * 扩展字段4
+ */
+ private String attribute4;
+
+ /**
+ * 扩展字段5
+ */
+ private String attribute5;
+
+ /**
+ * 小区主键
+ */
+ private Long attribute6;
+
+ /**
+ * 扩展字段7
+ */
+ private Long attribute7;
+
+ /**
+ * 扩展字段8
+ */
+ private Long attribute8;
+
+ /**
+ * 扩展字段9
+ */
+ private Date attribute9;
+
+ /**
+ * 扩展字段10
+ */
+ private Date attribute10;
+
+ /**
+ * 小区主键
+ */
+ private String communityId;
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/ca/CaRentalDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/ca/CaRentalDTO.java
new file mode 100644
index 0000000000..597b46c5ae
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/ca/CaRentalDTO.java
@@ -0,0 +1,215 @@
+package com.epmet.opendata.dto.ca;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+import java.math.BigDecimal;
+
+/**
+ * 出租房信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Data
+public class CaRentalDTO implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 出租房ID
+ */
+ private Long rentalId;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 房屋ID
+ */
+ private Long houseId;
+
+ /**
+ * 房屋编号
+ */
+ private String houseName;
+
+ /**
+ * 房屋地址
+ */
+ private String houseAddress;
+
+ /**
+ * 建筑用途
+ */
+ private String houseUse;
+
+ /**
+ * 建筑面积(平方米)
+ */
+ private BigDecimal houseArea;
+
+ /**
+ * 证件代码
+ */
+ private String idType;
+
+ /**
+ * 证件号码
+ */
+ private String idCard;
+
+ /**
+ * 房主姓名
+ */
+ private String residentName;
+
+ /**
+ * 房主联系方式
+ */
+ private String telephone;
+
+ /**
+ * 房主现居详址
+ */
+ private String curliveAddress;
+
+ /**
+ * 出租用途
+ */
+ private String rentUse;
+
+ /**
+ * 隐患类型
+ */
+ private String troubleType;
+
+ /**
+ * 承租人ID
+ */
+ private Long renterId;
+
+ /**
+ * 承租人公民身份证号码
+ */
+ private String renterCardNumber;
+
+ /**
+ * 承租人证件类型
+ */
+ private Long renterCardType;
+
+ /**
+ * 承租人姓名
+ */
+ private String renterName;
+
+ /**
+ * 承租人联系方式
+ */
+ private String renterPhone;
+
+ /**
+ * 经度
+ */
+ private BigDecimal longitude;
+
+ /**
+ * 纬度
+ */
+ private BigDecimal latitude;
+
+ /**
+ * 标绘状态
+ */
+ private String pointStatus;
+
+ /**
+ * 数据来源
+ */
+ private String platCode;
+
+ /**
+ * 创建人
+ */
+ private Long createBy;
+
+ /**
+ * 创建时间
+ */
+ private Date createDate;
+
+ /**
+ * 最后修改人
+ */
+ private Long updateBy;
+
+ /**
+ * 最后修改时间
+ */
+ private Date updateDate;
+
+ /**
+ * 删除状态
+ */
+ private String deleteFlag;
+
+ /**
+ * 乐观锁
+ */
+ private Integer versions;
+
+ /**
+ * 承租单位
+ */
+ private String attribute1;
+
+ /**
+ * 承租日期
+ */
+ private String attribute2;
+
+ /**
+ * 承租期限
+ */
+ private String attribute3;
+
+ /**
+ * 扩展字段4
+ */
+ private String attribute4;
+
+ /**
+ * 扩展字段5
+ */
+ private String attribute5;
+
+ /**
+ * 扩展字段6
+ */
+ private Long attribute6;
+
+ /**
+ * 扩展字段7
+ */
+ private Long attribute7;
+
+ /**
+ * 扩展字段8
+ */
+ private Long attribute8;
+
+ /**
+ * 扩展字段9
+ */
+ private Date attribute9;
+
+ /**
+ * 扩展字段10
+ */
+ private Date attribute10;
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/ca/CaResidentDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/ca/CaResidentDTO.java
new file mode 100644
index 0000000000..6b2e8c4c86
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/ca/CaResidentDTO.java
@@ -0,0 +1,284 @@
+package com.epmet.opendata.dto.ca;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+
+/**
+ * 人口基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Data
+public class CaResidentDTO implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 人口ID
+ */
+ private Long residentId;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 人口性质
+ */
+ private String residentProperty;
+
+ /**
+ * 居民分类
+ */
+ private String residentType;
+
+ /**
+ * 证件类型
+ */
+ private String idType;
+
+ /**
+ * 证件号码(公民身份证号)
+ */
+ private String idCard;
+
+ /**
+ * 姓名
+ */
+ private String residentName;
+
+ /**
+ * 性别
+ */
+ private String sex;
+
+ /**
+ * 出生日期
+ */
+ private Date birthday;
+
+ /**
+ * 民族
+ */
+ private String nation;
+
+ /**
+ * 联系方式
+ */
+ private String telephone;
+
+ /**
+ * 户籍省
+ */
+ private String householdProv;
+
+ /**
+ * 户籍市
+ */
+ private String householdCity;
+
+ /**
+ * 户籍县(区)
+ */
+ private String householdCounty;
+
+ /**
+ * 户籍镇街
+ */
+ private String householdTown;
+
+ /**
+ * 户籍社区/村
+ */
+ private String householdVillage;
+
+ /**
+ * 户籍详址
+ */
+ private String householdAddressDetail;
+
+ /**
+ * 现住省
+ */
+ private String curliveProv;
+
+ /**
+ * 现住市
+ */
+ private String curliveCity;
+
+ /**
+ * 现住县(区)
+ */
+ private String curliveCounty;
+
+ /**
+ * 现住镇街
+ */
+ private String curliveTown;
+
+ /**
+ * 现住社区/村
+ */
+ private String curliveVillage;
+
+ /**
+ * 现住详址
+ */
+ private String curliveAddressDetail;
+
+ /**
+ * 籍贯省
+ */
+ private String nativeAddressProv;
+
+ /**
+ * 籍贯市
+ */
+ private String nativeAddressCity;
+
+ /**
+ * 籍贯县(区)
+ */
+ private String nativeAddressCounty;
+
+ /**
+ * 曾用名
+ */
+ private String formerName;
+
+ /**
+ * 学历
+ */
+ private String education;
+
+ /**
+ * 职业
+ */
+ private String occupation;
+
+ /**
+ * 职业类别
+ */
+ private String occupationType;
+
+ /**
+ * 服务处所
+ */
+ private String serviceAddress;
+
+ /**
+ * 婚姻状况
+ */
+ private String marriageStatus;
+
+ /**
+ * 政治面貌
+ */
+ private String party;
+
+ /**
+ * 宗教信仰
+ */
+ private String religious;
+
+ /**
+ * 有无皈依(已受洗)
+ */
+ private String conversionState;
+
+ /**
+ * 国籍
+ */
+ private String nationality;
+
+ /**
+ * 数据来源
+ */
+ private String platCode;
+
+ /**
+ * 创建人
+ */
+ private Long createBy;
+
+ /**
+ * 创建时间
+ */
+ private Date createDate;
+
+ /**
+ * 最后修改人
+ */
+ private Long updateBy;
+
+ /**
+ * 最后修改时间
+ */
+ private Date updateDate;
+
+ /**
+ * 删除状态
+ */
+ private String deleteFlag;
+
+ /**
+ * 乐观锁
+ */
+ private Integer versions;
+
+ /**
+ * 扩展字段1
+ */
+ private String attribute1;
+
+ /**
+ * 扩展字段2
+ */
+ private String attribute2;
+
+ /**
+ * 扩展字段3
+ */
+ private String attribute3;
+
+ /**
+ * 扩展字段4
+ */
+ private String attribute4;
+
+ /**
+ * 扩展字段5
+ */
+ private String attribute5;
+
+ /**
+ * 扩展字段6
+ */
+ private Long attribute6;
+
+ /**
+ * 扩展字段7
+ */
+ private Long attribute7;
+
+ /**
+ * 扩展字段8
+ */
+ private Long attribute8;
+
+ /**
+ * 扩展字段9
+ */
+ private Date attribute9;
+
+ /**
+ * 扩展字段10
+ */
+ private Date attribute10;
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/ca/CaRotatorsDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/ca/CaRotatorsDTO.java
new file mode 100644
index 0000000000..9bd29a4dea
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/ca/CaRotatorsDTO.java
@@ -0,0 +1,299 @@
+package com.epmet.opendata.dto.ca;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+
+/**
+ * 流动人口表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Data
+public class CaRotatorsDTO implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 主键id
+ */
+ private Long rotatorsId;
+
+ /**
+ * 公民身份证号
+ */
+ private String idCard;
+
+ /**
+ * 证件类型
+ */
+ private String idType;
+
+ /**
+ * 姓名
+ */
+ private String rotatorsName;
+
+ /**
+ * 曾用名
+ */
+ private String formerName;
+
+ /**
+ * 性别
+ */
+ private String sex;
+
+ /**
+ * 出生日期
+ */
+ private Date birthday;
+
+ /**
+ * 民族
+ */
+ private String nation;
+
+ /**
+ * 籍贯省
+ */
+ private String nativeAddressProv;
+
+ /**
+ * 籍贯市
+ */
+ private String nativeAddressCity;
+
+ /**
+ * 籍贯县(区)
+ */
+ private String nativeAddressCountry;
+
+ /**
+ * 婚姻状况
+ */
+ private String marriageStatus;
+
+ /**
+ * 政治面貌
+ */
+ private String party;
+
+ /**
+ * 学历
+ */
+ private String education;
+
+ /**
+ * 宗教信仰
+ */
+ private String religious;
+
+ /**
+ * 职业类别
+ */
+ private String occupationType;
+
+ /**
+ * 职业
+ */
+ private String occupation;
+
+ /**
+ * 服务处所
+ */
+ private String serviceAddress;
+
+ /**
+ * 联系方式
+ */
+ private String telephone;
+
+ /**
+ * 户籍地省
+ */
+ private String householdAddressProv;
+
+ /**
+ * 户籍地市
+ */
+ private String householdAddressCity;
+
+ /**
+ * 户籍地县(区)
+ */
+ private String householdAddressCountry;
+
+ /**
+ * 户籍地镇街
+ */
+ private String householdAddressTown;
+
+ /**
+ * 户籍地社区/村
+ */
+ private String householdAddressVillage;
+
+ /**
+ * 户籍门(楼)详址
+ */
+ private String householdAddressDetail;
+
+ /**
+ * 现住地省
+ */
+ private String curliveAddressProv;
+
+ /**
+ * 现住地市
+ */
+ private String curliveAddressCity;
+
+ /**
+ * 现住地县(区)
+ */
+ private String curliveAddressCountry;
+
+ /**
+ * 现住地镇街
+ */
+ private String curliveAddressTown;
+
+ /**
+ * 现住地社区/村
+ */
+ private String curliveAddressVillage;
+
+ /**
+ * 现住门(楼)详址
+ */
+ private String curliveAddressDetail;
+
+ /**
+ * 流入原因
+ */
+ private String inflowReason;
+
+ /**
+ * 办证类型
+ */
+ private String certificateType;
+
+ /**
+ * 证件号码
+ */
+ private String certificateNumber;
+
+ /**
+ * 登记日期
+ */
+ private Date signDate;
+
+ /**
+ * 证件到期日期
+ */
+ private Date endDate;
+
+ /**
+ * 住所类型
+ */
+ private String residenceType;
+
+ /**
+ * 是否重点关注人员
+ */
+ private String isFocusPerson;
+
+ /**
+ * 创建人
+ */
+ private Long createBy;
+
+ /**
+ * 创建时间
+ */
+ private Date createDate;
+
+ /**
+ * 最后修改人
+ */
+ private Long updateBy;
+
+ /**
+ * 最后修改时间
+ */
+ private Date updateDate;
+
+ /**
+ * 删除标识(正常的数据存:normal,逻辑删除的标识为:delete)
+ */
+ private String deleteFlag;
+
+ /**
+ * 数据来源编码
+ */
+ private String platcode;
+
+ /**
+ * 网格id
+ */
+ private Long gridId;
+
+ /**
+ * 乐观锁
+ */
+ private Integer versions;
+
+ /**
+ * 是否注销
+ */
+ private String attribute1;
+
+ /**
+ * 注销原因
+ */
+ private String attribute2;
+
+ /**
+ *
+ */
+ private String attribute3;
+
+ /**
+ *
+ */
+ private String attribute4;
+
+ /**
+ *
+ */
+ private String attribute5;
+
+ /**
+ *
+ */
+ private Long attribute6;
+
+ /**
+ *
+ */
+ private Long attribute7;
+
+ /**
+ *
+ */
+ private Long attribute8;
+
+ /**
+ *
+ */
+ private Date attribute9;
+
+ /**
+ *
+ */
+ private Date attribute10;
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/constant/CaWghDataConstant.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/constant/CaWghDataConstant.java
new file mode 100644
index 0000000000..624c9ac5b4
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/constant/CaWghDataConstant.java
@@ -0,0 +1,26 @@
+package com.epmet.opendata.dto.constant;
+
+/***
+ * 综治及网格化常量
+ * @author work@yujt.net.cn
+ * @date 2022/6/8/0008 10:00
+ */
+public interface CaWghDataConstant {
+
+
+ String AESKEY = "hriajrutnbghajsd";
+
+ String TABLESCHEMA_UNICOM = "unicom";
+
+ String UNICOM_PINGFANG = "ca_pingfang";
+
+
+ String UNICOM_LOUDONG = "ca_loudong";
+ String UNICOM_RESIDENT = "ca_resident";
+ String UNICOM_ROTATORS = "ca_rotators";
+ String UNICOM_RENTAL = "ca_rental";
+
+ String DATA_URL_UNICON = "http://120.221.72.83:9090/bridge/unicom/page";
+
+ String UNICOM_CONDITION = "unicomCondition";
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaLoudongDetailsFormDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaLoudongDetailsFormDTO.java
new file mode 100644
index 0000000000..eab041919e
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaLoudongDetailsFormDTO.java
@@ -0,0 +1,17 @@
+package com.epmet.opendata.dto.form;
+
+import lombok.Data;
+
+import java.io.Serializable;
+import java.math.BigInteger;
+
+@Data
+public class CaLoudongDetailsFormDTO implements Serializable {
+
+ private static final long serialVersionUID = -496629781476101758L;
+
+ /**
+ * 楼栋id
+ */
+ private BigInteger buildingId;
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaLoudongFormDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaLoudongFormDTO.java
new file mode 100644
index 0000000000..0822a5fcf1
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaLoudongFormDTO.java
@@ -0,0 +1,28 @@
+package com.epmet.opendata.dto.form;
+
+import com.epmet.commons.tools.dto.form.PageFormDTO;
+import lombok.Data;
+
+import java.io.Serializable;
+
+@Data
+public class CaLoudongFormDTO implements Serializable {
+
+ private static final long serialVersionUID = -5277855973512833181L;
+
+ /**
+ * 小区名称
+ */
+ private String communityName;
+
+ /**
+ * 楼宇名字
+ */
+ private String buildingName;
+
+ private Integer page;
+ private Integer limit;
+
+
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaPingFangDetailsFormDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaPingFangDetailsFormDTO.java
new file mode 100644
index 0000000000..ccff047834
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaPingFangDetailsFormDTO.java
@@ -0,0 +1,14 @@
+package com.epmet.opendata.dto.form;
+
+import lombok.Data;
+
+import java.io.Serializable;
+
+@Data
+public class CaPingFangDetailsFormDTO implements Serializable {
+
+ private static final long serialVersionUID = -357459764293119751L;
+
+
+ private String buildingId;
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaPingfangFormDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaPingfangFormDTO.java
new file mode 100644
index 0000000000..f6388581f1
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaPingfangFormDTO.java
@@ -0,0 +1,26 @@
+package com.epmet.opendata.dto.form;
+
+import lombok.Data;
+
+import java.io.Serializable;
+
+@Data
+public class CaPingfangFormDTO implements Serializable {
+
+ private static final long serialVersionUID = 7714897295294884648L;
+
+ /**
+ * 楼栋名称
+ */
+ private String buildingName;
+
+ /**
+ * 小区名称
+ */
+ private String communityName;
+
+ private Integer page;
+
+ private Integer limit;
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaRentalDetailsFormDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaRentalDetailsFormDTO.java
new file mode 100644
index 0000000000..f949721e55
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaRentalDetailsFormDTO.java
@@ -0,0 +1,16 @@
+package com.epmet.opendata.dto.form;
+
+import lombok.Data;
+
+import java.io.Serializable;
+
+@Data
+public class CaRentalDetailsFormDTO implements Serializable {
+
+ private static final long serialVersionUID = 5574325462597735500L;
+
+ /**
+ * 出租房id
+ */
+ private String rentalId;
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaRentalFormtDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaRentalFormtDTO.java
new file mode 100644
index 0000000000..e268304026
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaRentalFormtDTO.java
@@ -0,0 +1,30 @@
+package com.epmet.opendata.dto.form;
+
+import lombok.Data;
+
+import java.io.Serializable;
+
+@Data
+public class CaRentalFormtDTO implements Serializable {
+
+ private static final long serialVersionUID = -6052280300032032361L;
+
+ /**
+ * 房主姓名
+ */
+ private String residentName;
+
+ /**
+ * 房屋编号
+ */
+ private String houseName;
+
+ /**
+ * 承租人姓名
+ */
+ private String renterName;
+
+ private Integer page;
+
+ private Integer limit;
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaResidentDetailsFormDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaResidentDetailsFormDTO.java
new file mode 100644
index 0000000000..b8a88b5cd5
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaResidentDetailsFormDTO.java
@@ -0,0 +1,13 @@
+package com.epmet.opendata.dto.form;
+
+import lombok.Data;
+
+import java.io.Serializable;
+
+@Data
+public class CaResidentDetailsFormDTO implements Serializable {
+
+ private static final long serialVersionUID = 1936067831073936603L;
+
+ private String idCard;
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaResidentFormDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaResidentFormDTO.java
new file mode 100644
index 0000000000..dc7972f46c
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaResidentFormDTO.java
@@ -0,0 +1,31 @@
+package com.epmet.opendata.dto.form;
+
+import lombok.Data;
+
+import java.io.Serializable;
+
+@Data
+public class CaResidentFormDTO implements Serializable {
+
+ private static final long serialVersionUID = 7243033732302561487L;
+
+ private Integer page;
+
+ private Integer limit;
+
+ /**
+ * 姓名
+ */
+ private String residentName;
+
+ /**
+ * 身份证号
+ */
+ private String idCard;
+
+ /**
+ * 联系方式
+ */
+ private String telephone;
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaRotatorsDetailsFormDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaRotatorsDetailsFormDTO.java
new file mode 100644
index 0000000000..4861ef6627
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaRotatorsDetailsFormDTO.java
@@ -0,0 +1,16 @@
+package com.epmet.opendata.dto.form;
+
+import lombok.Data;
+
+import java.io.Serializable;
+
+@Data
+public class CaRotatorsDetailsFormDTO implements Serializable {
+
+ private static final long serialVersionUID = -536489426327498665L;
+
+ /**
+ * 身份证号
+ */
+ private String idCard;
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaRotatorsFormDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaRotatorsFormDTO.java
new file mode 100644
index 0000000000..322c9783b3
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/CaRotatorsFormDTO.java
@@ -0,0 +1,30 @@
+package com.epmet.opendata.dto.form;
+
+import lombok.Data;
+
+import java.io.Serializable;
+import java.net.Inet4Address;
+
+@Data
+public class CaRotatorsFormDTO implements Serializable {
+
+ private static final long serialVersionUID = 3356808153818385932L;
+
+ /**
+ * 姓名
+ */
+ private String rotatorsName;
+
+ /**
+ * 身份证号
+ */
+ private String idCard;
+
+ /**
+ * 联系方式
+ */
+ private String telephone;
+
+ private Integer page;
+ private Integer limit;
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/PreserVationFormDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/PreserVationFormDTO.java
new file mode 100644
index 0000000000..e2cb679bf7
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/form/PreserVationFormDTO.java
@@ -0,0 +1,41 @@
+package com.epmet.opendata.dto.form;
+
+import lombok.Data;
+
+import java.io.Serializable;
+
+@Data
+public class PreserVationFormDTO implements Serializable {
+
+ private static final long serialVersionUID = 3489407841261413891L;
+
+ /**
+ * 表名
+ */
+ private String tableSchema;
+
+ /**
+ * 表名
+ */
+ private String tableName;
+
+ /**
+ * 页码
+ */
+ private Integer pageNo;
+
+ /**
+ * 每页条数
+ */
+ private Integer pageSize;
+
+ /**
+ * 查询条件
+ */
+ private String whereCase;
+
+ /**
+ *排序字段
+ */
+ private String orderBy;
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaLoudongDetailsResultDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaLoudongDetailsResultDTO.java
new file mode 100644
index 0000000000..d79b6884c4
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaLoudongDetailsResultDTO.java
@@ -0,0 +1,143 @@
+package com.epmet.opendata.dto.result;
+
+import lombok.Data;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+@Data
+public class CaLoudongDetailsResultDTO implements Serializable {
+
+ private static final long serialVersionUID = -8076699273641714744L;
+
+ /**
+ * 楼栋ID
+ */
+ private Long buildingId;
+
+ /**
+ * 楼宇类型
+ */
+ private String buildingType;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 楼宇名称
+ */
+ private String buildingName;
+
+ /**
+ * 用途分类
+ */
+ private String buildingUse;
+
+ /**
+ * 楼宇状态
+ */
+ private String buildingStatus;
+
+ /**
+ * 楼宇结构
+ */
+ private String buildingStructure;
+
+ /**
+ * 使用现状
+ */
+ private String buildingUseage;
+
+ /**
+ * 建筑时间
+ */
+ private Date constructionTime;
+
+ /**
+ * 所处位置
+ */
+ private String buildingAddr;
+
+ /**
+ * 小区(单位)名称
+ */
+ private String communityName;
+
+ /**
+ * 楼栋长
+ */
+ private String buildingLeader;
+
+ /**
+ * 楼层数
+ */
+ private Integer layerCount;
+
+ /**
+ * 地下楼层数
+ */
+ private Integer basementLayerCount;
+
+ /**
+ * 住宅开始层数
+ */
+ private Integer houseBeginLayer;
+
+ /**
+ * 单元数
+ */
+ private Integer unitCount;
+
+ /**
+ * 每层每单元户数
+ */
+ private Integer layerRoomCount;
+
+ /**
+ * 总房屋数
+ */
+ private Integer roomCount;
+
+ /**
+ * 电梯数量
+ */
+ private String elevatorCount;
+
+ /**
+ * 建筑面积
+ */
+ private String buildingArea;
+
+ /**
+ * 物业公司
+ */
+ private String buildingPmc;
+
+ /**
+ * 介绍
+ */
+ private String buildingDesc;
+
+ /**
+ * 标绘状态
+ */
+ private String pointStatus;
+
+ /**
+ * 经度
+ */
+ private BigDecimal longitude;
+
+ /**
+ * 纬度
+ */
+ private BigDecimal latitude;
+
+ /**
+ * 小区主键
+ */
+ private String communityId;
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaLoudongResultDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaLoudongResultDTO.java
new file mode 100644
index 0000000000..71f91a0aee
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaLoudongResultDTO.java
@@ -0,0 +1,144 @@
+package com.epmet.opendata.dto.result;
+
+import com.epmet.commons.tools.dto.form.PageFormDTO;
+import lombok.Data;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+@Data
+public class CaLoudongResultDTO extends PageFormDTO implements Serializable {
+
+ private static final long serialVersionUID = 2835612060476537433L;
+
+ /**
+ * 楼栋ID
+ */
+ private Long buildingId;
+
+ /**
+ * 楼宇类型
+ */
+ private String buildingType;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 楼宇名称
+ */
+ private String buildingName;
+
+ /**
+ * 用途分类
+ */
+ private String buildingUse;
+
+ /**
+ * 楼宇状态
+ */
+ private String buildingStatus;
+
+ /**
+ * 楼宇结构
+ */
+ private String buildingStructure;
+
+ /**
+ * 使用现状
+ */
+ private String buildingUseage;
+
+ /**
+ * 建筑时间
+ */
+ private Date constructionTime;
+
+ /**
+ * 所处位置
+ */
+ private String buildingAddr;
+
+ /**
+ * 小区(单位)名称
+ */
+ private String communityName;
+
+ /**
+ * 楼栋长
+ */
+ private String buildingLeader;
+
+ /**
+ * 楼层数
+ */
+ private Integer layerCount;
+
+ /**
+ * 地下楼层数
+ */
+ private Integer basementLayerCount;
+
+ /**
+ * 住宅开始层数
+ */
+ private Integer houseBeginLayer;
+
+ /**
+ * 单元数
+ */
+ private Integer unitCount;
+
+ /**
+ * 每层每单元户数
+ */
+ private Integer layerRoomCount;
+
+ /**
+ * 总房屋数
+ */
+ private Integer roomCount;
+
+ /**
+ * 电梯数量
+ */
+ private String elevatorCount;
+
+ /**
+ * 建筑面积
+ */
+ private String buildingArea;
+
+ /**
+ * 物业公司
+ */
+ private String buildingPmc;
+
+ /**
+ * 介绍
+ */
+ private String buildingDesc;
+
+ /**
+ * 标绘状态
+ */
+ private String pointStatus;
+
+ /**
+ * 经度
+ */
+ private BigDecimal longitude;
+
+ /**
+ * 纬度
+ */
+ private BigDecimal latitude;
+
+ /**
+ * 小区主键
+ */
+ private String communityId;
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaPingFangDetailsResultDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaPingFangDetailsResultDTO.java
new file mode 100644
index 0000000000..dcf821a3c0
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaPingFangDetailsResultDTO.java
@@ -0,0 +1,149 @@
+package com.epmet.opendata.dto.result;
+
+import lombok.Data;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+@Data
+public class CaPingFangDetailsResultDTO implements Serializable {
+
+ private static final long serialVersionUID = -6967441851106789821L;
+
+ /**
+ * 楼栋ID
+ */
+ private Long buildingId;
+
+ /**
+ * 楼宇类型
+ */
+ private String buildingType;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 楼宇名称
+ */
+ private String buildingName;
+
+ /**
+ * 用途分类
+ */
+ private String buildingUse;
+
+ /**
+ * 楼宇状态
+ */
+ private String buildingStatus;
+
+ /**
+ * 楼宇结构
+ */
+ private String buildingStructure;
+
+ /**
+ * 使用现状
+ */
+ private String buildingUseage;
+
+ /**
+ * 建筑时间
+ */
+ private Date constructionTime;
+
+ /**
+ * 所处位置
+ */
+ private String buildingAddr;
+
+ /**
+ * 小区(单位)名称
+ */
+ private String communityName;
+
+ /**
+ * 楼栋长
+ */
+ private String buildingLeader;
+
+ /**
+ * 楼层数
+ */
+ private Integer layerCount;
+
+ /**
+ * 地下楼层数
+ */
+ private Integer basementLayerCount;
+
+ /**
+ * 住宅开始层数
+ */
+ private Integer houseBeginLayer;
+
+ /**
+ * 单元数
+ */
+ private Integer unitCount;
+
+ /**
+ * 每层每单元户数
+ */
+ private Integer layerRoomCount;
+
+ /**
+ * 总房屋数
+ */
+ private Integer roomCount;
+
+ /**
+ * 电梯数量
+ */
+ private String elevatorCount;
+
+ /**
+ * 建筑面积
+ */
+ private String buildingArea;
+
+ /**
+ * 物业公司
+ */
+ private String buildingPmc;
+
+ /**
+ * 介绍
+ */
+ private String buildingDesc;
+
+ /**
+ * 标绘状态
+ */
+ private String pointStatus;
+
+ /**
+ * 经度
+ */
+ private BigDecimal longitude;
+
+ /**
+ * 纬度
+ */
+ private BigDecimal latitude;
+
+ /**
+ * 数据来源
+ */
+ private String platCode;
+
+ /**
+ * 小区主键
+ */
+ private String communityId;
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaPingfangResultDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaPingfangResultDTO.java
new file mode 100644
index 0000000000..21500d78d6
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaPingfangResultDTO.java
@@ -0,0 +1,149 @@
+package com.epmet.opendata.dto.result;
+
+import com.epmet.commons.tools.dto.form.PageFormDTO;
+import lombok.Data;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+@Data
+public class CaPingfangResultDTO extends PageFormDTO implements Serializable {
+
+ private static final long serialVersionUID = 3689421598802326474L;
+
+ /**
+ * 楼栋ID
+ */
+ private Long buildingId;
+
+ /**
+ * 楼宇类型
+ */
+ private String buildingType;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 楼宇名称
+ */
+ private String buildingName;
+
+ /**
+ * 用途分类
+ */
+ private String buildingUse;
+
+ /**
+ * 楼宇状态
+ */
+ private String buildingStatus;
+
+ /**
+ * 楼宇结构
+ */
+ private String buildingStructure;
+
+ /**
+ * 使用现状
+ */
+ private String buildingUseage;
+
+ /**
+ * 建筑时间
+ */
+ private Date constructionTime;
+
+ /**
+ * 所处位置
+ */
+ private String buildingAddr;
+
+ /**
+ * 小区(单位)名称
+ */
+ private String communityName;
+
+ /**
+ * 楼栋长
+ */
+ private String buildingLeader;
+
+ /**
+ * 楼层数
+ */
+ private Integer layerCount;
+
+ /**
+ * 地下楼层数
+ */
+ private Integer basementLayerCount;
+
+ /**
+ * 住宅开始层数
+ */
+ private Integer houseBeginLayer;
+
+ /**
+ * 单元数
+ */
+ private Integer unitCount;
+
+ /**
+ * 每层每单元户数
+ */
+ private Integer layerRoomCount;
+
+ /**
+ * 总房屋数
+ */
+ private Integer roomCount;
+
+ /**
+ * 电梯数量
+ */
+ private String elevatorCount;
+
+ /**
+ * 建筑面积
+ */
+ private String buildingArea;
+
+ /**
+ * 物业公司
+ */
+ private String buildingPmc;
+
+ /**
+ * 介绍
+ */
+ private String buildingDesc;
+
+ /**
+ * 标绘状态
+ */
+ private String pointStatus;
+
+ /**
+ * 经度
+ */
+ private BigDecimal longitude;
+
+ /**
+ * 纬度
+ */
+ private BigDecimal latitude;
+
+ /**
+ * 数据来源
+ */
+ private String platCode;
+
+ /**
+ * 小区主键
+ */
+ private String communityId;
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaRentalDetailsResultDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaRentalDetailsResultDTO.java
new file mode 100644
index 0000000000..8bd5acca1c
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaRentalDetailsResultDTO.java
@@ -0,0 +1,128 @@
+package com.epmet.opendata.dto.result;
+
+import lombok.Data;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+
+@Data
+public class CaRentalDetailsResultDTO implements Serializable {
+
+ private static final long serialVersionUID = 163050940482300773L;
+
+ /**
+ * 出租房ID
+ */
+ private Long rentalId;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 房屋ID
+ */
+ private Long houseId;
+
+ /**
+ * 房屋编号
+ */
+ private String houseName;
+
+ /**
+ * 房屋地址
+ */
+ private String houseAddress;
+
+ /**
+ * 建筑用途
+ */
+ private String houseUse;
+
+ /**
+ * 建筑面积(平方米)
+ */
+ private BigDecimal houseArea;
+
+ /**
+ * 证件代码
+ */
+ private String idType;
+
+ /**
+ * 证件号码
+ */
+ private String idCard;
+
+ /**
+ * 房主姓名
+ */
+ private String residentName;
+
+ /**
+ * 房主联系方式
+ */
+ private String telephone;
+
+ /**
+ * 房主现居详址
+ */
+ private String curliveAddress;
+
+ /**
+ * 出租用途
+ */
+ private String rentUse;
+
+ /**
+ * 隐患类型
+ */
+ private String troubleType;
+
+ /**
+ * 承租人ID
+ */
+ private Long renterId;
+
+ /**
+ * 承租人公民身份证号码
+ */
+ private String renterCardNumber;
+
+ /**
+ * 承租人证件类型
+ */
+ private Long renterCardType;
+
+ /**
+ * 承租人姓名
+ */
+ private String renterName;
+
+ /**
+ * 承租人联系方式
+ */
+ private String renterPhone;
+
+ /**
+ * 经度
+ */
+ private BigDecimal longitude;
+
+ /**
+ * 纬度
+ */
+ private BigDecimal latitude;
+
+ /**
+ * 标绘状态
+ */
+ private String pointStatus;
+
+ /**
+ * 数据来源
+ */
+ private String platCode;
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaRentalResultDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaRentalResultDTO.java
new file mode 100644
index 0000000000..9264d24aac
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaRentalResultDTO.java
@@ -0,0 +1,128 @@
+package com.epmet.opendata.dto.result;
+
+import lombok.Data;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+
+@Data
+public class CaRentalResultDTO implements Serializable {
+
+ private static final long serialVersionUID = -1721373620271590333L;
+
+ /**
+ * 出租房ID
+ */
+ private Long rentalId;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 房屋ID
+ */
+ private Long houseId;
+
+ /**
+ * 房屋编号
+ */
+ private String houseName;
+
+ /**
+ * 房屋地址
+ */
+ private String houseAddress;
+
+ /**
+ * 建筑用途
+ */
+ private String houseUse;
+
+ /**
+ * 建筑面积(平方米)
+ */
+ private BigDecimal houseArea;
+
+ /**
+ * 证件代码
+ */
+ private String idType;
+
+ /**
+ * 证件号码
+ */
+ private String idCard;
+
+ /**
+ * 房主姓名
+ */
+ private String residentName;
+
+ /**
+ * 房主联系方式
+ */
+ private String telephone;
+
+ /**
+ * 房主现居详址
+ */
+ private String curliveAddress;
+
+ /**
+ * 出租用途
+ */
+ private String rentUse;
+
+ /**
+ * 隐患类型
+ */
+ private String troubleType;
+
+ /**
+ * 承租人ID
+ */
+ private Long renterId;
+
+ /**
+ * 承租人公民身份证号码
+ */
+ private String renterCardNumber;
+
+ /**
+ * 承租人证件类型
+ */
+ private Long renterCardType;
+
+ /**
+ * 承租人姓名
+ */
+ private String renterName;
+
+ /**
+ * 承租人联系方式
+ */
+ private String renterPhone;
+
+ /**
+ * 经度
+ */
+ private BigDecimal longitude;
+
+ /**
+ * 纬度
+ */
+ private BigDecimal latitude;
+
+ /**
+ * 标绘状态
+ */
+ private String pointStatus;
+
+ /**
+ * 数据来源
+ */
+ private String platCode;
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaResidentDetailsResultDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaResidentDetailsResultDTO.java
new file mode 100644
index 0000000000..20f5c86f93
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaResidentDetailsResultDTO.java
@@ -0,0 +1,198 @@
+package com.epmet.opendata.dto.result;
+
+import lombok.Data;
+
+import java.io.Serializable;
+import java.util.Date;
+
+@Data
+public class CaResidentDetailsResultDTO implements Serializable {
+
+ private static final long serialVersionUID = -7745222285619853846L;
+
+ /**
+ * 人口ID
+ */
+ private Long residentId;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 人口性质
+ */
+ private String residentProperty;
+
+ /**
+ * 居民分类
+ */
+ private String residentType;
+
+ /**
+ * 证件类型
+ */
+ private String idType;
+
+ /**
+ * 证件号码(公民身份证号)
+ */
+ private String idCard;
+
+ /**
+ * 姓名
+ */
+ private String residentName;
+
+ /**
+ * 性别
+ */
+ private String sex;
+
+ /**
+ * 出生日期
+ */
+ private Date birthday;
+
+ /**
+ * 民族
+ */
+ private String nation;
+
+ /**
+ * 联系方式
+ */
+ private String telephone;
+
+ /**
+ * 户籍省
+ */
+ private String householdProv;
+
+ /**
+ * 户籍市
+ */
+ private String householdCity;
+
+ /**
+ * 户籍县(区)
+ */
+ private String householdCounty;
+
+ /**
+ * 户籍镇街
+ */
+ private String householdTown;
+
+ /**
+ * 户籍社区/村
+ */
+ private String householdVillage;
+
+ /**
+ * 户籍详址
+ */
+ private String householdAddressDetail;
+
+ /**
+ * 现住省
+ */
+ private String curliveProv;
+
+ /**
+ * 现住市
+ */
+ private String curliveCity;
+
+ /**
+ * 现住县(区)
+ */
+ private String curliveCounty;
+
+ /**
+ * 现住镇街
+ */
+ private String curliveTown;
+
+ /**
+ * 现住社区/村
+ */
+ private String curliveVillage;
+
+ /**
+ * 现住详址
+ */
+ private String curliveAddressDetail;
+
+ /**
+ * 籍贯省
+ */
+ private String nativeAddressProv;
+
+ /**
+ * 籍贯市
+ */
+ private String nativeAddressCity;
+
+ /**
+ * 籍贯县(区)
+ */
+ private String nativeAddressCounty;
+
+ /**
+ * 曾用名
+ */
+ private String formerName;
+
+ /**
+ * 学历
+ */
+ private String education;
+
+ /**
+ * 职业
+ */
+ private String occupation;
+
+ /**
+ * 职业类别
+ */
+ private String occupationType;
+
+ /**
+ * 服务处所
+ */
+ private String serviceAddress;
+
+ /**
+ * 婚姻状况
+ */
+ private String marriageStatus;
+
+ /**
+ * 政治面貌
+ */
+ private String party;
+
+ /**
+ * 宗教信仰
+ */
+ private String religious;
+
+ /**
+ * 有无皈依(已受洗)
+ */
+ private String conversionState;
+
+ /**
+ * 国籍
+ */
+ private String nationality;
+
+ /**
+ * 数据来源
+ */
+ private String platCode;
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaResidentResultDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaResidentResultDTO.java
new file mode 100644
index 0000000000..8fac0b7cba
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaResidentResultDTO.java
@@ -0,0 +1,197 @@
+package com.epmet.opendata.dto.result;
+
+import lombok.Data;
+
+import java.io.Serializable;
+import java.util.Date;
+
+@Data
+public class CaResidentResultDTO implements Serializable {
+
+ private static final long serialVersionUID = 3876909002181822355L;
+
+ /**
+ * 人口ID
+ */
+ private Long residentId;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 人口性质
+ */
+ private String residentProperty;
+
+ /**
+ * 居民分类
+ */
+ private String residentType;
+
+ /**
+ * 证件类型
+ */
+ private String idType;
+
+ /**
+ * 证件号码(公民身份证号)
+ */
+ private String idCard;
+
+ /**
+ * 姓名
+ */
+ private String residentName;
+
+ /**
+ * 性别
+ */
+ private String sex;
+
+ /**
+ * 出生日期
+ */
+ private Date birthday;
+
+ /**
+ * 民族
+ */
+ private String nation;
+
+ /**
+ * 联系方式
+ */
+ private String telephone;
+
+ /**
+ * 户籍省
+ */
+ private String householdProv;
+
+ /**
+ * 户籍市
+ */
+ private String householdCity;
+
+ /**
+ * 户籍县(区)
+ */
+ private String householdCounty;
+
+ /**
+ * 户籍镇街
+ */
+ private String householdTown;
+
+ /**
+ * 户籍社区/村
+ */
+ private String householdVillage;
+
+ /**
+ * 户籍详址
+ */
+ private String householdAddressDetail;
+
+ /**
+ * 现住省
+ */
+ private String curliveProv;
+
+ /**
+ * 现住市
+ */
+ private String curliveCity;
+
+ /**
+ * 现住县(区)
+ */
+ private String curliveCounty;
+
+ /**
+ * 现住镇街
+ */
+ private String curliveTown;
+
+ /**
+ * 现住社区/村
+ */
+ private String curliveVillage;
+
+ /**
+ * 现住详址
+ */
+ private String curliveAddressDetail;
+
+ /**
+ * 籍贯省
+ */
+ private String nativeAddressProv;
+
+ /**
+ * 籍贯市
+ */
+ private String nativeAddressCity;
+
+ /**
+ * 籍贯县(区)
+ */
+ private String nativeAddressCounty;
+
+ /**
+ * 曾用名
+ */
+ private String formerName;
+
+ /**
+ * 学历
+ */
+ private String education;
+
+ /**
+ * 职业
+ */
+ private String occupation;
+
+ /**
+ * 职业类别
+ */
+ private String occupationType;
+
+ /**
+ * 服务处所
+ */
+ private String serviceAddress;
+
+ /**
+ * 婚姻状况
+ */
+ private String marriageStatus;
+
+ /**
+ * 政治面貌
+ */
+ private String party;
+
+ /**
+ * 宗教信仰
+ */
+ private String religious;
+
+ /**
+ * 有无皈依(已受洗)
+ */
+ private String conversionState;
+
+ /**
+ * 国籍
+ */
+ private String nationality;
+
+ /**
+ * 数据来源
+ */
+ private String platCode;
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaRotatorsDetailsResultDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaRotatorsDetailsResultDTO.java
new file mode 100644
index 0000000000..7d91a14322
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaRotatorsDetailsResultDTO.java
@@ -0,0 +1,213 @@
+package com.epmet.opendata.dto.result;
+
+import lombok.Data;
+
+import java.io.Serializable;
+import java.util.Date;
+
+@Data
+public class CaRotatorsDetailsResultDTO implements Serializable {
+
+ private static final long serialVersionUID = 6450956000162367591L;
+
+ /**
+ * 主键id
+ */
+ private Long rotatorsId;
+
+ /**
+ * 公民身份证号
+ */
+ private String idCard;
+
+ /**
+ * 证件类型
+ */
+ private String idType;
+
+ /**
+ * 姓名
+ */
+ private String rotatorsName;
+
+ /**
+ * 曾用名
+ */
+ private String formerName;
+
+ /**
+ * 性别
+ */
+ private String sex;
+
+ /**
+ * 出生日期
+ */
+ private Date birthday;
+
+ /**
+ * 民族
+ */
+ private String nation;
+
+ /**
+ * 籍贯省
+ */
+ private String nativeAddressProv;
+
+ /**
+ * 籍贯市
+ */
+ private String nativeAddressCity;
+
+ /**
+ * 籍贯县(区)
+ */
+ private String nativeAddressCountry;
+
+ /**
+ * 婚姻状况
+ */
+ private String marriageStatus;
+
+ /**
+ * 政治面貌
+ */
+ private String party;
+
+ /**
+ * 学历
+ */
+ private String education;
+
+ /**
+ * 宗教信仰
+ */
+ private String religious;
+
+ /**
+ * 职业类别
+ */
+ private String occupationType;
+
+ /**
+ * 职业
+ */
+ private String occupation;
+
+ /**
+ * 服务处所
+ */
+ private String serviceAddress;
+
+ /**
+ * 联系方式
+ */
+ private String telephone;
+
+ /**
+ * 户籍地省
+ */
+ private String householdAddressProv;
+
+ /**
+ * 户籍地市
+ */
+ private String householdAddressCity;
+
+ /**
+ * 户籍地县(区)
+ */
+ private String householdAddressCountry;
+
+ /**
+ * 户籍地镇街
+ */
+ private String householdAddressTown;
+
+ /**
+ * 户籍地社区/村
+ */
+ private String householdAddressVillage;
+
+ /**
+ * 户籍门(楼)详址
+ */
+ private String householdAddressDetail;
+
+ /**
+ * 现住地省
+ */
+ private String curliveAddressProv;
+
+ /**
+ * 现住地市
+ */
+ private String curliveAddressCity;
+
+ /**
+ * 现住地县(区)
+ */
+ private String curliveAddressCountry;
+
+ /**
+ * 现住地镇街
+ */
+ private String curliveAddressTown;
+
+ /**
+ * 现住地社区/村
+ */
+ private String curliveAddressVillage;
+
+ /**
+ * 现住门(楼)详址
+ */
+ private String curliveAddressDetail;
+
+ /**
+ * 流入原因
+ */
+ private String inflowReason;
+
+ /**
+ * 办证类型
+ */
+ private String certificateType;
+
+ /**
+ * 证件号码
+ */
+ private String certificateNumber;
+
+ /**
+ * 登记日期
+ */
+ private Date signDate;
+
+ /**
+ * 证件到期日期
+ */
+ private Date endDate;
+
+ /**
+ * 住所类型
+ */
+ private String residenceType;
+
+ /**
+ * 是否重点关注人员
+ */
+ private String isFocusPerson;
+
+ /**
+ * 数据来源编码
+ */
+ private String platcode;
+
+ /**
+ * 网格id
+ */
+ private Long gridId;
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaRotatorsResultDTO.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaRotatorsResultDTO.java
new file mode 100644
index 0000000000..7736d81e41
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/result/CaRotatorsResultDTO.java
@@ -0,0 +1,202 @@
+package com.epmet.opendata.dto.result;
+
+import lombok.Data;
+
+import java.io.Serializable;
+import java.util.Date;
+
+@Data
+public class CaRotatorsResultDTO implements Serializable {
+
+ private static final long serialVersionUID = -5388784241677803257L;
+
+ /**
+ * 主键id
+ */
+ private Long rotatorsId;
+
+ /**
+ * 公民身份证号
+ */
+ private String idCard;
+
+ /**
+ * 证件类型
+ */
+ private String idType;
+
+ /**
+ * 姓名
+ */
+ private String rotatorsName;
+
+ /**
+ * 曾用名
+ */
+ private String formerName;
+
+ /**
+ * 性别
+ */
+ private String sex;
+
+ /**
+ * 出生日期
+ */
+ private Date birthday;
+
+ /**
+ * 民族
+ */
+ private String nation;
+
+ /**
+ * 籍贯省
+ */
+ private String nativeAddressProv;
+
+ /**
+ * 籍贯市
+ */
+ private String nativeAddressCity;
+
+ /**
+ * 籍贯县(区)
+ */
+ private String nativeAddressCountry;
+
+ /**
+ * 婚姻状况
+ */
+ private String marriageStatus;
+
+ /**
+ * 政治面貌
+ */
+ private String party;
+
+ /**
+ * 学历
+ */
+ private String education;
+
+ /**
+ * 宗教信仰
+ */
+ private String religious;
+
+ /**
+ * 职业类别
+ */
+ private String occupationType;
+
+ /**
+ * 职业
+ */
+ private String occupation;
+
+ /**
+ * 服务处所
+ */
+ private String serviceAddress;
+
+ /**
+ * 联系方式
+ */
+ private String telephone;
+
+ /**
+ * 户籍地省
+ */
+ private String householdAddressProv;
+
+ /**
+ * 户籍地市
+ */
+ private String householdAddressCity;
+
+ /**
+ * 户籍地县(区)
+ */
+ private String householdAddressCountry;
+
+ /**
+ * 户籍地镇街
+ */
+ private String householdAddressTown;
+
+ /**
+ * 户籍地社区/村
+ */
+ private String householdAddressVillage;
+
+ /**
+ * 户籍门(楼)详址
+ */
+ private String householdAddressDetail;
+
+ /**
+ * 现住地省
+ */
+ private String curliveAddressProv;
+
+ /**
+ * 现住地市
+ */
+ private String curliveAddressCity;
+
+ /**
+ * 现住地县(区)
+ */
+ private String curliveAddressCountry;
+
+ /**
+ * 现住地镇街
+ */
+ private String curliveAddressTown;
+
+ /**
+ * 现住地社区/村
+ */
+ private String curliveAddressVillage;
+
+ /**
+ * 现住门(楼)详址
+ */
+ private String curliveAddressDetail;
+
+ /**
+ * 流入原因
+ */
+ private String inflowReason;
+
+ /**
+ * 办证类型
+ */
+ private String certificateType;
+
+ /**
+ * 证件号码
+ */
+ private String certificateNumber;
+
+ /**
+ * 登记日期
+ */
+ private Date signDate;
+
+ /**
+ * 证件到期日期
+ */
+ private Date endDate;
+
+ /**
+ * 住所类型
+ */
+ private String residenceType;
+
+ /**
+ * 是否重点关注人员
+ */
+ private String isFocusPerson;
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/feign/GuardarDatosFeignClient.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/feign/GuardarDatosFeignClient.java
new file mode 100644
index 0000000000..62aa02fd0c
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/feign/GuardarDatosFeignClient.java
@@ -0,0 +1,14 @@
+package com.epmet.opendata.feign;
+
+import com.epmet.commons.tools.utils.Result;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.feign.impl.GuardarDatosFeignClientFallBack;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.PostMapping;
+
+@FeignClient(name = "open-data-worker-server", fallback = GuardarDatosFeignClientFallBack.class)
+public interface GuardarDatosFeignClient {
+
+ @PostMapping("/opendata/caTask/guardarDatosTask")
+ Result guardarDatosTask(PreserVationFormDTO dto);
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/feign/impl/GuardarDatosFeignClientFallBack.java b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/feign/impl/GuardarDatosFeignClientFallBack.java
new file mode 100644
index 0000000000..4a688e5ae5
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/feign/impl/GuardarDatosFeignClientFallBack.java
@@ -0,0 +1,17 @@
+package com.epmet.opendata.feign.impl;
+
+import com.epmet.commons.tools.utils.ModuleUtils;
+import com.epmet.commons.tools.utils.Result;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.feign.GuardarDatosFeignClient;
+import org.springframework.stereotype.Component;
+
+@Component
+public class GuardarDatosFeignClientFallBack implements GuardarDatosFeignClient {
+
+ @Override
+ public Result guardarDatosTask(PreserVationFormDTO dto) {
+ return ModuleUtils.feignConError("open-data-worker", "guardarDatosTask", dto);
+ }
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaLoudongController.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaLoudongController.java
new file mode 100644
index 0000000000..c349b17ae0
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaLoudongController.java
@@ -0,0 +1,131 @@
+package com.epmet.opendata.controller;
+
+import com.epmet.commons.tools.annotation.LoginUser;
+import com.epmet.commons.tools.aop.NoRepeatSubmit;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.commons.tools.security.dto.TokenDto;
+import com.epmet.commons.tools.utils.ExcelUtils;
+import com.epmet.commons.tools.utils.Result;
+import com.epmet.commons.tools.validator.AssertUtils;
+import com.epmet.commons.tools.validator.ValidatorUtils;
+import com.epmet.commons.tools.validator.group.AddGroup;
+import com.epmet.commons.tools.validator.group.DefaultGroup;
+import com.epmet.commons.tools.validator.group.UpdateGroup;
+import com.epmet.opendata.dto.ca.CaLoudongDTO;
+import com.epmet.opendata.dto.form.CaLoudongDetailsFormDTO;
+import com.epmet.opendata.dto.form.CaLoudongFormDTO;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.dto.result.CaLoudongDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaLoudongResultDTO;
+import com.epmet.opendata.excel.CaLoudongExcel;
+import com.epmet.opendata.service.CaLoudongService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletResponse;
+import java.util.List;
+import java.util.Map;
+
+
+/**
+ * 楼栋基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@RestController
+@RequestMapping("caLoudong")
+public class CaLoudongController {
+
+ @Autowired
+ private CaLoudongService caLoudongService;
+
+ @RequestMapping("page")
+ public Result> page(@RequestParam Map params) {
+ PageData page = caLoudongService.page(params);
+ return new Result>().ok(page);
+ }
+
+ @RequestMapping(value = "{id}", method = {RequestMethod.POST, RequestMethod.GET})
+ public Result get(@PathVariable("id") String id) {
+ CaLoudongDTO data = caLoudongService.get(id);
+ return new Result().ok(data);
+ }
+
+ @NoRepeatSubmit
+ @PostMapping("save")
+ public Result save(@RequestBody CaLoudongDTO dto) {
+ //效验数据
+ ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
+ caLoudongService.save(dto);
+ return new Result();
+ }
+
+ @NoRepeatSubmit
+ @PostMapping("update")
+ public Result update(@RequestBody CaLoudongDTO dto) {
+ //效验数据
+ ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
+ caLoudongService.update(dto);
+ return new Result();
+ }
+
+ @PostMapping("delete")
+ public Result delete(@RequestBody String[] ids) {
+ //效验数据
+ AssertUtils.isArrayEmpty(ids, "id");
+ caLoudongService.delete(ids);
+ return new Result();
+ }
+
+ @GetMapping("export")
+ public void export(@RequestParam Map params, HttpServletResponse response) throws Exception {
+ List list = caLoudongService.list(params);
+ ExcelUtils.exportExcelToTarget(response, null, list, CaLoudongExcel.class);
+ }
+
+ /**
+ * 楼栋基本信息分页
+ *
+ * @param dto
+ * @param tokenDto
+ * @return com.epmet.commons.tools.utils.Result>
+ * @author LZN
+ * @date 2022/5/31 18:57
+ */
+ @PostMapping("getPage")
+ public Result> getPage(@RequestBody CaLoudongFormDTO dto, @LoginUser TokenDto tokenDto) {
+ PageData data = caLoudongService.getPage(dto);
+ return new Result>().ok(data);
+ }
+
+ /**
+ * 楼栋基本信息详情
+ *
+ * @param dto
+ * @param tokenDto
+ * @return com.epmet.commons.tools.utils.Result
+ * @author LZN
+ * @date 2022/6/1 9:37
+ */
+ @PostMapping("getLouDongDetails")
+ public Result getLouDongDetails(@RequestBody CaLoudongDetailsFormDTO dto, @LoginUser TokenDto tokenDto) {
+ CaLoudongDetailsResultDTO result = caLoudongService.getLouDongDetails(dto);
+ return new Result().ok(result);
+ }
+
+ /**
+ * 楼栋调用ruoyi接口存储数据
+ *
+ * @param dto
+ * @return com.epmet.commons.tools.utils.Result
+ * @author LZN
+ * @date 2022/6/2 10:02
+ */
+ @PostMapping("/preserLouDongVation")
+ public Result getPreserLouDongVation(@RequestBody PreserVationFormDTO dto) {
+ caLoudongService.preserLouDongVation(dto);
+ return new Result();
+ }
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaPingfangController.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaPingfangController.java
new file mode 100644
index 0000000000..3ef18ebada
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaPingfangController.java
@@ -0,0 +1,129 @@
+package com.epmet.opendata.controller;
+
+import com.epmet.commons.tools.annotation.LoginUser;
+import com.epmet.commons.tools.aop.NoRepeatSubmit;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.commons.tools.security.dto.TokenDto;
+import com.epmet.commons.tools.utils.ExcelUtils;
+import com.epmet.commons.tools.utils.Result;
+import com.epmet.commons.tools.validator.AssertUtils;
+import com.epmet.commons.tools.validator.ValidatorUtils;
+import com.epmet.commons.tools.validator.group.AddGroup;
+import com.epmet.commons.tools.validator.group.DefaultGroup;
+import com.epmet.commons.tools.validator.group.UpdateGroup;
+import com.epmet.opendata.dto.ca.CaPingfangDTO;
+import com.epmet.opendata.dto.form.CaPingFangDetailsFormDTO;
+import com.epmet.opendata.dto.form.CaPingfangFormDTO;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.dto.result.CaPingFangDetailsResultDTO;
+import com.epmet.opendata.excel.CaPingfangExcel;
+import com.epmet.opendata.service.CaPingfangService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletResponse;
+import java.util.List;
+import java.util.Map;
+
+
+/**
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@RestController
+@RequestMapping("caPingfang")
+public class CaPingfangController {
+
+ @Autowired
+ private CaPingfangService caPingfangService;
+
+ @RequestMapping("page")
+ public Result> page(@RequestParam Map params) {
+ PageData page = caPingfangService.page(params);
+ return new Result>().ok(page);
+ }
+
+ @RequestMapping(value = "{id}", method = {RequestMethod.POST, RequestMethod.GET})
+ public Result get(@PathVariable("id") String id) {
+ CaPingfangDTO data = caPingfangService.get(id);
+ return new Result().ok(data);
+ }
+
+ @NoRepeatSubmit
+ @PostMapping("save")
+ public Result save(@RequestBody CaPingfangDTO dto) {
+ //效验数据
+ ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
+ caPingfangService.save(dto);
+ return new Result();
+ }
+
+ @NoRepeatSubmit
+ @PostMapping("update")
+ public Result update(@RequestBody CaPingfangDTO dto) {
+ //效验数据
+ ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
+ caPingfangService.update(dto);
+ return new Result();
+ }
+
+ @PostMapping("delete")
+ public Result delete(@RequestBody String[] ids) {
+ //效验数据
+ AssertUtils.isArrayEmpty(ids, "id");
+ caPingfangService.delete(ids);
+ return new Result();
+ }
+
+ @GetMapping("export")
+ public void export(@RequestParam Map params, HttpServletResponse response) throws Exception {
+ List list = caPingfangService.list(params);
+ ExcelUtils.exportExcelToTarget(response, null, list, CaPingfangExcel.class);
+ }
+
+ /**
+ * 平房基础信息分页
+ *
+ * @param dto
+ * @param tokenDto
+ * @return com.epmet.commons.tools.utils.Result
+ * @author LZN
+ * @date 2022/5/31 18:58
+ */
+ @PostMapping("getPage")
+ public Result getPage(@RequestBody CaPingfangFormDTO dto, @LoginUser TokenDto tokenDto) {
+ PageData data = caPingfangService.getPage(dto);
+ return new Result().ok(data);
+ }
+
+ /**
+ * 平房详情
+ *
+ * @param dto
+ * @param tokenDto
+ * @return com.epmet.commons.tools.utils.Result
+ * @author LZN
+ * @date 2022/6/2 14:04
+ */
+ @PostMapping("getPingFangDetails")
+ public Result getPingFangDetails(@RequestBody CaPingFangDetailsFormDTO dto, @LoginUser TokenDto tokenDto) {
+ CaPingFangDetailsResultDTO result = caPingfangService.getPingFangDetails(dto);
+ return new Result().ok(result);
+ }
+
+ /**
+ * 平房调用ruoyi接口存储数据
+ *
+ * @param dto
+ * @return com.epmet.commons.tools.utils.Result
+ * @author LZN
+ * @date 2022/6/2 10:20
+ */
+ @PostMapping("/preserPingFangVation")
+ public Result getPreserPingFangVation(@RequestBody PreserVationFormDTO dto) {
+ caPingfangService.preserPingFangVation(dto);
+ return new Result();
+ }
+
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaRentalController.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaRentalController.java
new file mode 100644
index 0000000000..ac31858960
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaRentalController.java
@@ -0,0 +1,131 @@
+package com.epmet.opendata.controller;
+
+import com.epmet.commons.tools.annotation.LoginUser;
+import com.epmet.commons.tools.aop.NoRepeatSubmit;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.commons.tools.security.dto.TokenDto;
+import com.epmet.commons.tools.utils.ExcelUtils;
+import com.epmet.commons.tools.utils.Result;
+import com.epmet.commons.tools.validator.AssertUtils;
+import com.epmet.commons.tools.validator.ValidatorUtils;
+import com.epmet.commons.tools.validator.group.AddGroup;
+import com.epmet.commons.tools.validator.group.DefaultGroup;
+import com.epmet.commons.tools.validator.group.UpdateGroup;
+import com.epmet.opendata.dto.ca.CaRentalDTO;
+import com.epmet.opendata.dto.form.CaRentalDetailsFormDTO;
+import com.epmet.opendata.dto.form.CaRentalFormtDTO;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.dto.result.CaRentalDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaRentalResultDTO;
+import com.epmet.opendata.excel.CaRentalExcel;
+import com.epmet.opendata.service.CaRentalService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletResponse;
+import java.util.List;
+import java.util.Map;
+
+
+/**
+ * 出租房信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@RestController
+@RequestMapping("caRental")
+public class CaRentalController {
+
+ @Autowired
+ private CaRentalService caRentalService;
+
+ @RequestMapping("page")
+ public Result> page(@RequestParam Map params) {
+ PageData page = caRentalService.page(params);
+ return new Result>().ok(page);
+ }
+
+ @RequestMapping(value = "{id}", method = {RequestMethod.POST, RequestMethod.GET})
+ public Result get(@PathVariable("id") String id) {
+ CaRentalDTO data = caRentalService.get(id);
+ return new Result().ok(data);
+ }
+
+ @NoRepeatSubmit
+ @PostMapping("save")
+ public Result save(@RequestBody CaRentalDTO dto) {
+ //效验数据
+ ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
+ caRentalService.save(dto);
+ return new Result();
+ }
+
+ @NoRepeatSubmit
+ @PostMapping("update")
+ public Result update(@RequestBody CaRentalDTO dto) {
+ //效验数据
+ ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
+ caRentalService.update(dto);
+ return new Result();
+ }
+
+ @PostMapping("delete")
+ public Result delete(@RequestBody String[] ids) {
+ //效验数据
+ AssertUtils.isArrayEmpty(ids, "id");
+ caRentalService.delete(ids);
+ return new Result();
+ }
+
+ @GetMapping("export")
+ public void export(@RequestParam Map params, HttpServletResponse response) throws Exception {
+ List list = caRentalService.list(params);
+ ExcelUtils.exportExcelToTarget(response, null, list, CaRentalExcel.class);
+ }
+
+ /**
+ * 出租房信息分页
+ *
+ * @param dto
+ * @param tokenDto
+ * @return com.epmet.commons.tools.utils.Result>
+ * @author LZN
+ * @date 2022/5/31 18:38
+ */
+ @PostMapping("getPage")
+ public Result> getPage(@RequestBody CaRentalFormtDTO dto, @LoginUser TokenDto tokenDto) {
+ PageData data = caRentalService.getPage(dto);
+ return new Result>().ok(data);
+ }
+
+ /**
+ * 出租房详情
+ *
+ * @param dto
+ * @param tokenDto
+ * @return com.epmet.commons.tools.utils.Result
+ * @author LZN
+ * @date 2022/6/2 14:53
+ */
+ @PostMapping("getRentalDetails")
+ public Result getRentalDetails(@RequestBody CaRentalDetailsFormDTO dto, @LoginUser TokenDto tokenDto) {
+ CaRentalDetailsResultDTO result = caRentalService.getRentalDetails(dto);
+ return new Result().ok(result);
+ }
+
+ /**
+ * 出租房调用ruoyi接口存储数据
+ *
+ * @param dto
+ * @return com.epmet.commons.tools.utils.Result
+ * @author LZN
+ * @date 2022/6/2 10:31
+ */
+ @PostMapping("/preserRentalVation")
+ public Result getPreserRentalVation(@RequestBody PreserVationFormDTO dto) {
+ caRentalService.preserRentalVation(dto);
+ return new Result();
+ }
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaResidentController.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaResidentController.java
new file mode 100644
index 0000000000..ac27374d80
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaResidentController.java
@@ -0,0 +1,130 @@
+package com.epmet.opendata.controller;
+
+import com.epmet.commons.tools.annotation.LoginUser;
+import com.epmet.commons.tools.aop.NoRepeatSubmit;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.commons.tools.security.dto.TokenDto;
+import com.epmet.commons.tools.utils.ExcelUtils;
+import com.epmet.commons.tools.utils.Result;
+import com.epmet.commons.tools.validator.AssertUtils;
+import com.epmet.commons.tools.validator.ValidatorUtils;
+import com.epmet.commons.tools.validator.group.AddGroup;
+import com.epmet.commons.tools.validator.group.DefaultGroup;
+import com.epmet.commons.tools.validator.group.UpdateGroup;
+import com.epmet.opendata.dto.ca.CaResidentDTO;
+import com.epmet.opendata.dto.form.CaResidentDetailsFormDTO;
+import com.epmet.opendata.dto.form.CaResidentFormDTO;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.dto.result.CaResidentDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaResidentResultDTO;
+import com.epmet.opendata.excel.CaResidentExcel;
+import com.epmet.opendata.service.CaResidentService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletResponse;
+import java.util.List;
+import java.util.Map;
+
+
+/**
+ * 人口基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@RestController
+@RequestMapping("caResident")
+public class CaResidentController {
+
+ @Autowired
+ private CaResidentService caResidentService;
+
+ @RequestMapping("page")
+ public Result> page(@RequestParam Map params) {
+ PageData page = caResidentService.page(params);
+ return new Result>().ok(page);
+ }
+
+ @RequestMapping(value = "{id}", method = {RequestMethod.POST, RequestMethod.GET})
+ public Result get(@PathVariable("id") String id) {
+ CaResidentDTO data = caResidentService.get(id);
+ return new Result().ok(data);
+ }
+
+ @NoRepeatSubmit
+ @PostMapping("save")
+ public Result save(@RequestBody CaResidentDTO dto) {
+ //效验数据
+ ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
+ caResidentService.save(dto);
+ return new Result();
+ }
+
+ @NoRepeatSubmit
+ @PostMapping("update")
+ public Result update(@RequestBody CaResidentDTO dto) {
+ //效验数据
+ ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
+ caResidentService.update(dto);
+ return new Result();
+ }
+
+ @PostMapping("delete")
+ public Result delete(@RequestBody String[] ids) {
+ //效验数据
+ AssertUtils.isArrayEmpty(ids, "id");
+ caResidentService.delete(ids);
+ return new Result();
+ }
+
+ @GetMapping("export")
+ public void export(@RequestParam Map params, HttpServletResponse response) throws Exception {
+ List list = caResidentService.list(params);
+ ExcelUtils.exportExcelToTarget(response, null, list, CaResidentExcel.class);
+ }
+
+ /**
+ * 人口基本信息分页
+ *
+ * @param dto
+ * @param tokenDto
+ * @return com.epmet.commons.tools.utils.Result>
+ * @author LZN
+ * @date 2022/5/31 18:59
+ */
+ @PostMapping("getPage")
+ public Result> getPage(@RequestBody CaResidentFormDTO dto, @LoginUser TokenDto tokenDto) {
+ PageData data = caResidentService.getPage(dto);
+ return new Result>().ok(data);
+ }
+
+ /**
+ * 人口基本信息详情
+ *
+ * @param dto
+ * @param tokenDto
+ * @return com.epmet.commons.tools.utils.Result
+ * @author LZN
+ * @date 2022/6/2 15:17
+ */
+ @PostMapping("getResidentDetails")
+ public Result getResidentDetails(@RequestBody CaResidentDetailsFormDTO dto, @LoginUser TokenDto tokenDto) {
+ CaResidentDetailsResultDTO result = caResidentService.getResidentDetails(dto);
+ return new Result().ok(result);
+ }
+
+ /**
+ * 人口基本信息调用ruoyi接口存储数据
+ *
+ * @param dto
+ * @return com.epmet.commons.tools.utils.Result
+ * @author LZN
+ * @date 2022/6/2 10:47
+ */
+ @PostMapping("/preserResidentVation")
+ public Result getPreserResidentVation(@RequestBody PreserVationFormDTO dto) {
+ caResidentService.preserResidentVation(dto);
+ return new Result();
+ }
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaRotatorsController.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaRotatorsController.java
new file mode 100644
index 0000000000..8072b7fbb5
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaRotatorsController.java
@@ -0,0 +1,132 @@
+package com.epmet.opendata.controller;
+
+import com.epmet.commons.tools.annotation.LoginUser;
+import com.epmet.commons.tools.aop.NoRepeatSubmit;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.commons.tools.security.dto.TokenDto;
+import com.epmet.commons.tools.utils.ExcelUtils;
+import com.epmet.commons.tools.utils.Result;
+import com.epmet.commons.tools.validator.AssertUtils;
+import com.epmet.commons.tools.validator.ValidatorUtils;
+import com.epmet.commons.tools.validator.group.AddGroup;
+import com.epmet.commons.tools.validator.group.DefaultGroup;
+import com.epmet.commons.tools.validator.group.UpdateGroup;
+import com.epmet.opendata.dto.ca.CaRotatorsDTO;
+import com.epmet.opendata.dto.form.CaRotatorsDetailsFormDTO;
+import com.epmet.opendata.dto.form.CaRotatorsFormDTO;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.dto.result.CaRotatorsDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaRotatorsResultDTO;
+import com.epmet.opendata.excel.CaRotatorsExcel;
+import com.epmet.opendata.service.CaRotatorsService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletResponse;
+import java.util.List;
+import java.util.Map;
+
+
+/**
+ * 流动人口表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@RestController
+@RequestMapping("caRotators")
+public class CaRotatorsController {
+
+ @Autowired
+ private CaRotatorsService caRotatorsService;
+
+ @RequestMapping("page")
+ public Result> page(@RequestParam Map params) {
+ PageData page = caRotatorsService.page(params);
+ return new Result>().ok(page);
+ }
+
+ @RequestMapping(value = "{id}", method = {RequestMethod.POST, RequestMethod.GET})
+ public Result get(@PathVariable("id") String id) {
+ CaRotatorsDTO data = caRotatorsService.get(id);
+ return new Result().ok(data);
+ }
+
+ @NoRepeatSubmit
+ @PostMapping("save")
+ public Result save(@RequestBody CaRotatorsDTO dto) {
+ //效验数据
+ ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
+ caRotatorsService.save(dto);
+ return new Result();
+ }
+
+ @NoRepeatSubmit
+ @PostMapping("update")
+ public Result update(@RequestBody CaRotatorsDTO dto) {
+ //效验数据
+ ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
+ caRotatorsService.update(dto);
+ return new Result();
+ }
+
+ @PostMapping("delete")
+ public Result delete(@RequestBody String[] ids) {
+ //效验数据
+ AssertUtils.isArrayEmpty(ids, "id");
+ caRotatorsService.delete(ids);
+ return new Result();
+ }
+
+ @GetMapping("export")
+ public void export(@RequestParam Map params, HttpServletResponse response) throws Exception {
+ List list = caRotatorsService.list(params);
+ ExcelUtils.exportExcelToTarget(response, null, list, CaRotatorsExcel.class);
+ }
+
+ /**
+ * 流动人口分页
+ *
+ * @param dto
+ * @param tokenDto
+ * @return com.epmet.commons.tools.utils.Result>
+ * @author LZN
+ * @date 2022/5/31 19:00
+ */
+ @PostMapping("getPage")
+ public Result> getPage(@RequestBody CaRotatorsFormDTO dto, @LoginUser TokenDto tokenDto) {
+ PageData data = caRotatorsService.getPage(dto);
+ return new Result>().ok(data);
+ }
+
+ /**
+ * 流动人口详情
+ *
+ * @param dto
+ * @param tokenDto
+ * @return com.epmet.commons.tools.utils.Result
+ * @author LZN
+ * @date 2022/6/2 15:33
+ */
+ @PostMapping("getRotatorsDetails")
+ public Result getRotatorsDetails(@RequestBody CaRotatorsDetailsFormDTO dto, @LoginUser TokenDto tokenDto) {
+ CaRotatorsDetailsResultDTO result = caRotatorsService.getRotatorsDetails(dto);
+ return new Result().ok(result);
+ }
+
+ /**
+ * 流动人口调用ruoyi接口存储数据
+ *
+ * @param dto
+ * @return com.epmet.commons.tools.utils.Result
+ * @author LZN
+ * @date 2022/6/2 11:00
+ */
+ @PostMapping("/preserRotatorsVation")
+ public Result getPreserRotatorsVation(@RequestBody PreserVationFormDTO dto) {
+ caRotatorsService.preserRotatorsVation(dto);
+ return new Result();
+ }
+
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaTaskController.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaTaskController.java
new file mode 100644
index 0000000000..97c77cd539
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaTaskController.java
@@ -0,0 +1,33 @@
+package com.epmet.opendata.controller;
+
+import com.epmet.commons.tools.utils.Result;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.service.GuardarDatosTaskService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * 定时任务
+ *
+ * @param
+ * @author LZN
+ * @return
+ * @date 2022/6/7 15:54
+ */
+@RestController
+@RequestMapping("caTask")
+public class CaTaskController {
+
+ @Autowired
+ private GuardarDatosTaskService taskService;
+
+ @PostMapping("guardarDatosTask")
+ public Result guardarDatosTask(@RequestBody PreserVationFormDTO dto) {
+ taskService.guardarDatosTask(dto);
+ return new Result();
+ }
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaLoudongDao.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaLoudongDao.java
new file mode 100644
index 0000000000..6d3682d52f
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaLoudongDao.java
@@ -0,0 +1,46 @@
+package com.epmet.opendata.dao;
+
+
+import com.epmet.commons.mybatis.dao.BaseDao;
+import com.epmet.opendata.dto.ca.CaLoudongDTO;
+import com.epmet.opendata.dto.result.CaLoudongDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaLoudongResultDTO;
+import com.epmet.opendata.entity.CaLoudongEntity;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.math.BigInteger;
+import java.util.List;
+
+/**
+ * 楼栋基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Mapper
+public interface CaLoudongDao extends BaseDao {
+
+ List getList();
+
+ /**
+ * 楼栋基本信息分页
+ *
+ * @param communityName
+ * @return java.util.List
+ * @author LZN
+ * @date 2022/5/31 18:57
+ */
+ List getPage(@Param("communityName") String communityName,
+ @Param("buildingName") String buildingName);
+
+ /**
+ * 楼栋基本信息详情
+ *
+ * @param buildingId
+ * @return
+ */
+ CaLoudongDetailsResultDTO getLouDongDetails(@Param("buildingId") BigInteger buildingId);
+
+ void deleteAll();
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaPingfangDao.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaPingfangDao.java
new file mode 100644
index 0000000000..4aa4f98439
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaPingfangDao.java
@@ -0,0 +1,37 @@
+package com.epmet.opendata.dao;
+
+import com.epmet.commons.mybatis.dao.BaseDao;
+import com.epmet.opendata.dto.result.CaPingFangDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaPingfangResultDTO;
+import com.epmet.opendata.entity.CaPingfangEntity;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Mapper
+public interface CaPingfangDao extends BaseDao {
+
+ /**
+ * 平房基础信息分页
+ *
+ * @param buildingName
+ * @return
+ */
+ List getPage(@Param("buildingName") String buildingName,
+ @Param("communityName") String communityName);
+
+ void deleteAll();
+
+ /**
+ * 平房详情
+ *
+ * @param buildingId
+ * @return
+ */
+ CaPingFangDetailsResultDTO getPingFangDetails(@Param("buildingId") String buildingId);
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaRentalDao.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaRentalDao.java
new file mode 100644
index 0000000000..36490a9bf0
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaRentalDao.java
@@ -0,0 +1,42 @@
+package com.epmet.opendata.dao;
+
+import com.epmet.commons.mybatis.dao.BaseDao;
+
+import com.epmet.opendata.dto.result.CaLoudongResultDTO;
+import com.epmet.opendata.dto.result.CaRentalDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaRentalResultDTO;
+import com.epmet.opendata.entity.CaRentalEntity;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * 出租房信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Mapper
+public interface CaRentalDao extends BaseDao {
+
+ /**
+ * 出租房信息分页
+ *
+ * @param residentName
+ * @return
+ */
+ List getPage(@Param("residentName") String residentName,
+ @Param("houseName") String houseName,
+ @Param("renterName") String renterName);
+
+ void deleteAll();
+
+ /**
+ * 出租房详情
+ *
+ * @param rentalId
+ * @return
+ */
+ CaRentalDetailsResultDTO getRentalDetails(@Param("rentalId") String rentalId);
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaResidentDao.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaResidentDao.java
new file mode 100644
index 0000000000..8838273b8f
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaResidentDao.java
@@ -0,0 +1,41 @@
+package com.epmet.opendata.dao;
+
+import com.epmet.commons.mybatis.dao.BaseDao;
+
+import com.epmet.opendata.dto.result.CaResidentDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaResidentResultDTO;
+import com.epmet.opendata.entity.CaResidentEntity;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * 人口基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Mapper
+public interface CaResidentDao extends BaseDao {
+
+ /**
+ * 人口基本信息分页
+ *
+ * @param residentName
+ * @return
+ */
+ List getPage(@Param("residentName") String residentName,
+ @Param("idCard") String idCard,
+ @Param("telephone") String telephone);
+
+ void deleteAll();
+
+ /**
+ * 人口基本信息详情
+ *
+ * @param idCard
+ * @return
+ */
+ CaResidentDetailsResultDTO getResidentDetails(@Param("idCard") String idCard);
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaRotatorsDao.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaRotatorsDao.java
new file mode 100644
index 0000000000..8cc71a30cc
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaRotatorsDao.java
@@ -0,0 +1,42 @@
+package com.epmet.opendata.dao;
+
+import com.epmet.commons.mybatis.dao.BaseDao;
+
+import com.epmet.opendata.dto.result.CaRotatorsDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaRotatorsResultDTO;
+import com.epmet.opendata.entity.CaRotatorsEntity;
+import com.sun.tracing.dtrace.ProviderAttributes;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * 流动人口表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Mapper
+public interface CaRotatorsDao extends BaseDao {
+
+ /**
+ * 流动人口表
+ *
+ * @param rotatorsName
+ * @return
+ */
+ List getPage(@Param("rotatorsName") String rotatorsName,
+ @Param("idCard") String idCard,
+ @Param("telephone") String telephone);
+
+ void deleteAll();
+
+ /**
+ * 流动人口详情
+ *
+ * @param idCard
+ * @return
+ */
+ CaRotatorsDetailsResultDTO getRotatorsDetails(@Param("idCard") String idCard);
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaLoudongEntity.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaLoudongEntity.java
new file mode 100644
index 0000000000..820a670b38
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaLoudongEntity.java
@@ -0,0 +1,240 @@
+package com.epmet.opendata.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import com.epmet.commons.mybatis.entity.BaseEpmetEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ * 楼栋基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Data
+@EqualsAndHashCode(callSuper=false)
+@TableName("ca_loudong")
+public class CaLoudongEntity {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 楼栋ID
+ */
+ private Long buildingId;
+
+ /**
+ * 楼宇类型
+ */
+ private String buildingType;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 楼宇名称
+ */
+ private String buildingName;
+
+ /**
+ * 用途分类
+ */
+ private String buildingUse;
+
+ /**
+ * 楼宇状态
+ */
+ private String buildingStatus;
+
+ /**
+ * 楼宇结构
+ */
+ private String buildingStructure;
+
+ /**
+ * 使用现状
+ */
+ private String buildingUseage;
+
+ /**
+ * 建筑时间
+ */
+ private Date constructionTime;
+
+ /**
+ * 所处位置
+ */
+ private String buildingAddr;
+
+ /**
+ * 小区(单位)名称
+ */
+ private String communityName;
+
+ /**
+ * 楼栋长
+ */
+ private String buildingLeader;
+
+ /**
+ * 楼层数
+ */
+ private Integer layerCount;
+
+ /**
+ * 地下楼层数
+ */
+ private Integer basementLayerCount;
+
+ /**
+ * 住宅开始层数
+ */
+ private Integer houseBeginLayer;
+
+ /**
+ * 单元数
+ */
+ private Integer unitCount;
+
+ /**
+ * 每层每单元户数
+ */
+ private Integer layerRoomCount;
+
+ /**
+ * 总房屋数
+ */
+ private Integer roomCount;
+
+ /**
+ * 电梯数量
+ */
+ private String elevatorCount;
+
+ /**
+ * 建筑面积
+ */
+ private String buildingArea;
+
+ /**
+ * 物业公司
+ */
+ private String buildingPmc;
+
+ /**
+ * 介绍
+ */
+ private String buildingDesc;
+
+ /**
+ * 标绘状态
+ */
+ private String pointStatus;
+
+ /**
+ * 经度
+ */
+ private BigDecimal longitude;
+
+ /**
+ * 纬度
+ */
+ private BigDecimal latitude;
+
+ /**
+ * 数据来源
+ */
+ private String platCode;
+
+ /**
+ * 创建人
+ */
+ private Long createBy;
+
+ /**
+ * 创建时间
+ */
+ private Date createDate;
+
+ /**
+ * 最后修改人
+ */
+ private Long updateBy;
+
+ /**
+ * 最后修改时间
+ */
+ private Date updateDate;
+
+ /**
+ * 删除状态
+ */
+ private String deleteFlag;
+
+ /**
+ * 乐观锁
+ */
+ private Integer versions;
+
+ /**
+ * 扩展字段1
+ */
+ private String attribute1;
+
+ /**
+ * 扩展字段2
+ */
+ private String attribute2;
+
+ /**
+ * 扩展字段3
+ */
+ private String attribute3;
+
+ /**
+ * 扩展字段4
+ */
+ private String attribute4;
+
+ /**
+ * 扩展字段5
+ */
+ private String attribute5;
+
+ /**
+ * 小区主键
+ */
+ private Long attribute6;
+
+ /**
+ * 扩展字段7
+ */
+ private Long attribute7;
+
+ /**
+ * 扩展字段8
+ */
+ private Long attribute8;
+
+ /**
+ * 扩展字段9
+ */
+ private Date attribute9;
+
+ /**
+ * 扩展字段10
+ */
+ private Date attribute10;
+
+ /**
+ * 小区主键
+ */
+ private String communityId;
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaPingfangEntity.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaPingfangEntity.java
new file mode 100644
index 0000000000..ae008d7585
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaPingfangEntity.java
@@ -0,0 +1,240 @@
+package com.epmet.opendata.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import com.epmet.commons.mybatis.entity.BaseEpmetEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ *
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Data
+@EqualsAndHashCode(callSuper=false)
+@TableName("ca_pingfang")
+public class CaPingfangEntity {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 楼栋ID
+ */
+ private Long buildingId;
+
+ /**
+ * 楼宇类型
+ */
+ private String buildingType;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 楼宇名称
+ */
+ private String buildingName;
+
+ /**
+ * 用途分类
+ */
+ private String buildingUse;
+
+ /**
+ * 楼宇状态
+ */
+ private String buildingStatus;
+
+ /**
+ * 楼宇结构
+ */
+ private String buildingStructure;
+
+ /**
+ * 使用现状
+ */
+ private String buildingUseage;
+
+ /**
+ * 建筑时间
+ */
+ private Date constructionTime;
+
+ /**
+ * 所处位置
+ */
+ private String buildingAddr;
+
+ /**
+ * 小区(单位)名称
+ */
+ private String communityName;
+
+ /**
+ * 楼栋长
+ */
+ private String buildingLeader;
+
+ /**
+ * 楼层数
+ */
+ private Integer layerCount;
+
+ /**
+ * 地下楼层数
+ */
+ private Integer basementLayerCount;
+
+ /**
+ * 住宅开始层数
+ */
+ private Integer houseBeginLayer;
+
+ /**
+ * 单元数
+ */
+ private Integer unitCount;
+
+ /**
+ * 每层每单元户数
+ */
+ private Integer layerRoomCount;
+
+ /**
+ * 总房屋数
+ */
+ private Integer roomCount;
+
+ /**
+ * 电梯数量
+ */
+ private String elevatorCount;
+
+ /**
+ * 建筑面积
+ */
+ private String buildingArea;
+
+ /**
+ * 物业公司
+ */
+ private String buildingPmc;
+
+ /**
+ * 介绍
+ */
+ private String buildingDesc;
+
+ /**
+ * 标绘状态
+ */
+ private String pointStatus;
+
+ /**
+ * 经度
+ */
+ private BigDecimal longitude;
+
+ /**
+ * 纬度
+ */
+ private BigDecimal latitude;
+
+ /**
+ * 数据来源
+ */
+ private String platCode;
+
+ /**
+ * 创建人
+ */
+ private Long createBy;
+
+ /**
+ * 创建时间
+ */
+ private Date createDate;
+
+ /**
+ * 最后修改人
+ */
+ private Long updateBy;
+
+ /**
+ * 最后修改时间
+ */
+ private Date updateDate;
+
+ /**
+ * 删除状态
+ */
+ private String deleteFlag;
+
+ /**
+ * 乐观锁
+ */
+ private Integer versions;
+
+ /**
+ * 扩展字段1
+ */
+ private String attribute1;
+
+ /**
+ * 扩展字段2
+ */
+ private String attribute2;
+
+ /**
+ * 扩展字段3
+ */
+ private String attribute3;
+
+ /**
+ * 扩展字段4
+ */
+ private String attribute4;
+
+ /**
+ * 扩展字段5
+ */
+ private String attribute5;
+
+ /**
+ * 小区主键
+ */
+ private Long attribute6;
+
+ /**
+ * 扩展字段7
+ */
+ private Long attribute7;
+
+ /**
+ * 扩展字段8
+ */
+ private Long attribute8;
+
+ /**
+ * 扩展字段9
+ */
+ private Date attribute9;
+
+ /**
+ * 扩展字段10
+ */
+ private Date attribute10;
+
+ /**
+ * 小区主键
+ */
+ private String communityId;
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaRentalEntity.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaRentalEntity.java
new file mode 100644
index 0000000000..d3a22ce419
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaRentalEntity.java
@@ -0,0 +1,220 @@
+package com.epmet.opendata.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import com.epmet.commons.mybatis.entity.BaseEpmetEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ * 出租房信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Data
+@EqualsAndHashCode(callSuper=false)
+@TableName("ca_rental")
+public class CaRentalEntity {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 出租房ID
+ */
+ private Long rentalId;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 房屋ID
+ */
+ private Long houseId;
+
+ /**
+ * 房屋编号
+ */
+ private String houseName;
+
+ /**
+ * 房屋地址
+ */
+ private String houseAddress;
+
+ /**
+ * 建筑用途
+ */
+ private String houseUse;
+
+ /**
+ * 建筑面积(平方米)
+ */
+ private BigDecimal houseArea;
+
+ /**
+ * 证件代码
+ */
+ private String idType;
+
+ /**
+ * 证件号码
+ */
+ private String idCard;
+
+ /**
+ * 房主姓名
+ */
+ private String residentName;
+
+ /**
+ * 房主联系方式
+ */
+ private String telephone;
+
+ /**
+ * 房主现居详址
+ */
+ private String curliveAddress;
+
+ /**
+ * 出租用途
+ */
+ private String rentUse;
+
+ /**
+ * 隐患类型
+ */
+ private String troubleType;
+
+ /**
+ * 承租人ID
+ */
+ private Long renterId;
+
+ /**
+ * 承租人公民身份证号码
+ */
+ private String renterCardNumber;
+
+ /**
+ * 承租人证件类型
+ */
+ private Long renterCardType;
+
+ /**
+ * 承租人姓名
+ */
+ private String renterName;
+
+ /**
+ * 承租人联系方式
+ */
+ private String renterPhone;
+
+ /**
+ * 经度
+ */
+ private BigDecimal longitude;
+
+ /**
+ * 纬度
+ */
+ private BigDecimal latitude;
+
+ /**
+ * 标绘状态
+ */
+ private String pointStatus;
+
+ /**
+ * 数据来源
+ */
+ private String platCode;
+
+ /**
+ * 创建人
+ */
+ private Long createBy;
+
+ /**
+ * 创建时间
+ */
+ private Date createDate;
+
+ /**
+ * 最后修改人
+ */
+ private Long updateBy;
+
+ /**
+ * 最后修改时间
+ */
+ private Date updateDate;
+
+ /**
+ * 删除状态
+ */
+ private String deleteFlag;
+
+ /**
+ * 乐观锁
+ */
+ private Integer versions;
+
+ /**
+ * 承租单位
+ */
+ private String attribute1;
+
+ /**
+ * 承租日期
+ */
+ private String attribute2;
+
+ /**
+ * 承租期限
+ */
+ private String attribute3;
+
+ /**
+ * 扩展字段4
+ */
+ private String attribute4;
+
+ /**
+ * 扩展字段5
+ */
+ private String attribute5;
+
+ /**
+ * 扩展字段6
+ */
+ private Long attribute6;
+
+ /**
+ * 扩展字段7
+ */
+ private Long attribute7;
+
+ /**
+ * 扩展字段8
+ */
+ private Long attribute8;
+
+ /**
+ * 扩展字段9
+ */
+ private Date attribute9;
+
+ /**
+ * 扩展字段10
+ */
+ private Date attribute10;
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaResidentEntity.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaResidentEntity.java
new file mode 100644
index 0000000000..a65dcc6574
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaResidentEntity.java
@@ -0,0 +1,299 @@
+package com.epmet.opendata.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import com.epmet.commons.mybatis.entity.BaseEpmetEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+import java.util.Date;
+
+/**
+ * 人口基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Data
+@EqualsAndHashCode(callSuper=false)
+@TableName("ca_resident")
+public class CaResidentEntity {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 人口ID
+ */
+ private Long residentId;
+
+ /**
+ * homeId
+ */
+ private String homeId;
+
+ /**
+ * 对应的ic_resi_user主表Id
+ */
+ private String icResiUser;
+
+ /**
+ * 网格ID
+ */
+ private Long gridId;
+
+ /**
+ * 人口性质
+ */
+ private String residentProperty;
+
+ /**
+ * 居民分类
+ */
+ private String residentType;
+
+ /**
+ * 证件类型
+ */
+ private String idType;
+
+ /**
+ * 证件号码(公民身份证号)
+ */
+ private String idCard;
+
+ /**
+ * 姓名
+ */
+ private String residentName;
+
+ /**
+ * 性别
+ */
+ private String sex;
+
+ /**
+ * 出生日期
+ */
+ private Date birthday;
+
+ /**
+ * 民族
+ */
+ private String nation;
+
+ /**
+ * 联系方式
+ */
+ private String telephone;
+
+ /**
+ * 户籍省
+ */
+ private String householdProv;
+
+ /**
+ * 户籍市
+ */
+ private String householdCity;
+
+ /**
+ * 户籍县(区)
+ */
+ private String householdCounty;
+
+ /**
+ * 户籍镇街
+ */
+ private String householdTown;
+
+ /**
+ * 户籍社区/村
+ */
+ private String householdVillage;
+
+ /**
+ * 户籍详址
+ */
+ private String householdAddressDetail;
+
+ /**
+ * 现住省
+ */
+ private String curliveProv;
+
+ /**
+ * 现住市
+ */
+ private String curliveCity;
+
+ /**
+ * 现住县(区)
+ */
+ private String curliveCounty;
+
+ /**
+ * 现住镇街
+ */
+ private String curliveTown;
+
+ /**
+ * 现住社区/村
+ */
+ private String curliveVillage;
+
+ /**
+ * 现住详址
+ */
+ private String curliveAddressDetail;
+
+ /**
+ * 籍贯省
+ */
+ private String nativeAddressProv;
+
+ /**
+ * 籍贯市
+ */
+ private String nativeAddressCity;
+
+ /**
+ * 籍贯县(区)
+ */
+ private String nativeAddressCounty;
+
+ /**
+ * 曾用名
+ */
+ private String formerName;
+
+ /**
+ * 学历
+ */
+ private String education;
+
+ /**
+ * 职业
+ */
+ private String occupation;
+
+ /**
+ * 职业类别
+ */
+ private String occupationType;
+
+ /**
+ * 服务处所
+ */
+ private String serviceAddress;
+
+ /**
+ * 婚姻状况
+ */
+ private String marriageStatus;
+
+ /**
+ * 政治面貌
+ */
+ private String party;
+
+ /**
+ * 宗教信仰
+ */
+ private String religious;
+
+ /**
+ * 有无皈依(已受洗)
+ */
+ private String conversionState;
+
+ /**
+ * 国籍
+ */
+ private String nationality;
+
+ /**
+ * 数据来源
+ */
+ private String platCode;
+
+ /**
+ * 创建人
+ */
+ private Long createBy;
+
+ /**
+ * 创建时间
+ */
+ private Date createDate;
+
+ /**
+ * 最后修改人
+ */
+ private Long updateBy;
+
+ /**
+ * 最后修改时间
+ */
+ private Date updateDate;
+
+ /**
+ * 删除状态
+ */
+ private String deleteFlag;
+
+ /**
+ * 乐观锁
+ */
+ private Integer versions;
+
+ /**
+ * 扩展字段1
+ */
+ private String attribute1;
+
+ /**
+ * 扩展字段2
+ */
+ private String attribute2;
+
+ /**
+ * 扩展字段3
+ */
+ private String attribute3;
+
+ /**
+ * 扩展字段4
+ */
+ private String attribute4;
+
+ /**
+ * 扩展字段5
+ */
+ private String attribute5;
+
+ /**
+ * 扩展字段6
+ */
+ private Long attribute6;
+
+ /**
+ * 扩展字段7
+ */
+ private Long attribute7;
+
+ /**
+ * 扩展字段8
+ */
+ private Long attribute8;
+
+ /**
+ * 扩展字段9
+ */
+ private Date attribute9;
+
+ /**
+ * 扩展字段10
+ */
+ private Date attribute10;
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaRotatorsEntity.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaRotatorsEntity.java
new file mode 100644
index 0000000000..77e27c75fd
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaRotatorsEntity.java
@@ -0,0 +1,314 @@
+package com.epmet.opendata.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import com.epmet.commons.mybatis.entity.BaseEpmetEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+import java.util.Date;
+
+/**
+ * 流动人口表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Data
+@EqualsAndHashCode(callSuper=false)
+@TableName("ca_rotators")
+public class CaRotatorsEntity {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 主键id
+ */
+ private Long rotatorsId;
+
+ /**
+ * homeId
+ */
+ private String homeId;
+
+ /**
+ * 对应的ic_resi_user主表Id
+ */
+ private String icResiUser;
+
+ /**
+ * 公民身份证号
+ */
+ private String idCard;
+
+ /**
+ * 证件类型
+ */
+ private String idType;
+
+ /**
+ * 姓名
+ */
+ private String rotatorsName;
+
+ /**
+ * 曾用名
+ */
+ private String formerName;
+
+ /**
+ * 性别
+ */
+ private String sex;
+
+ /**
+ * 出生日期
+ */
+ private Date birthday;
+
+ /**
+ * 民族
+ */
+ private String nation;
+
+ /**
+ * 籍贯省
+ */
+ private String nativeAddressProv;
+
+ /**
+ * 籍贯市
+ */
+ private String nativeAddressCity;
+
+ /**
+ * 籍贯县(区)
+ */
+ private String nativeAddressCountry;
+
+ /**
+ * 婚姻状况
+ */
+ private String marriageStatus;
+
+ /**
+ * 政治面貌
+ */
+ private String party;
+
+ /**
+ * 学历
+ */
+ private String education;
+
+ /**
+ * 宗教信仰
+ */
+ private String religious;
+
+ /**
+ * 职业类别
+ */
+ private String occupationType;
+
+ /**
+ * 职业
+ */
+ private String occupation;
+
+ /**
+ * 服务处所
+ */
+ private String serviceAddress;
+
+ /**
+ * 联系方式
+ */
+ private String telephone;
+
+ /**
+ * 户籍地省
+ */
+ private String householdAddressProv;
+
+ /**
+ * 户籍地市
+ */
+ private String householdAddressCity;
+
+ /**
+ * 户籍地县(区)
+ */
+ private String householdAddressCountry;
+
+ /**
+ * 户籍地镇街
+ */
+ private String householdAddressTown;
+
+ /**
+ * 户籍地社区/村
+ */
+ private String householdAddressVillage;
+
+ /**
+ * 户籍门(楼)详址
+ */
+ private String householdAddressDetail;
+
+ /**
+ * 现住地省
+ */
+ private String curliveAddressProv;
+
+ /**
+ * 现住地市
+ */
+ private String curliveAddressCity;
+
+ /**
+ * 现住地县(区)
+ */
+ private String curliveAddressCountry;
+
+ /**
+ * 现住地镇街
+ */
+ private String curliveAddressTown;
+
+ /**
+ * 现住地社区/村
+ */
+ private String curliveAddressVillage;
+
+ /**
+ * 现住门(楼)详址
+ */
+ private String curliveAddressDetail;
+
+ /**
+ * 流入原因
+ */
+ private String inflowReason;
+
+ /**
+ * 办证类型
+ */
+ private String certificateType;
+
+ /**
+ * 证件号码
+ */
+ private String certificateNumber;
+
+ /**
+ * 登记日期
+ */
+ private Date signDate;
+
+ /**
+ * 证件到期日期
+ */
+ private Date endDate;
+
+ /**
+ * 住所类型
+ */
+ private String residenceType;
+
+ /**
+ * 是否重点关注人员
+ */
+ private String isFocusPerson;
+
+ /**
+ * 创建人
+ */
+ private Long createBy;
+
+ /**
+ * 创建时间
+ */
+ private Date createDate;
+
+ /**
+ * 最后修改人
+ */
+ private Long updateBy;
+
+ /**
+ * 最后修改时间
+ */
+ private Date updateDate;
+
+ /**
+ * 删除标识(正常的数据存:normal,逻辑删除的标识为:delete)
+ */
+ private String deleteFlag;
+
+ /**
+ * 数据来源编码
+ */
+ private String platcode;
+
+ /**
+ * 网格id
+ */
+ private Long gridId;
+
+ /**
+ * 乐观锁
+ */
+ private Integer versions;
+
+ /**
+ * 是否注销
+ */
+ private String attribute1;
+
+ /**
+ * 注销原因
+ */
+ private String attribute2;
+
+ /**
+ *
+ */
+ private String attribute3;
+
+ /**
+ *
+ */
+ private String attribute4;
+
+ /**
+ *
+ */
+ private String attribute5;
+
+ /**
+ *
+ */
+ private Long attribute6;
+
+ /**
+ *
+ */
+ private Long attribute7;
+
+ /**
+ *
+ */
+ private Long attribute8;
+
+ /**
+ *
+ */
+ private Date attribute9;
+
+ /**
+ *
+ */
+ private Date attribute10;
+
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaLoudongExcel.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaLoudongExcel.java
new file mode 100644
index 0000000000..fce722fd43
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaLoudongExcel.java
@@ -0,0 +1,148 @@
+package com.epmet.opendata.excel;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import lombok.Data;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ * 楼栋基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Data
+public class CaLoudongExcel {
+
+ @Excel(name = "楼栋ID")
+ private Long buildingId;
+
+ @Excel(name = "楼宇类型")
+ private String buildingType;
+
+ @Excel(name = "网格ID")
+ private Long gridId;
+
+ @Excel(name = "楼宇名称")
+ private String buildingName;
+
+ @Excel(name = "用途分类")
+ private String buildingUse;
+
+ @Excel(name = "楼宇状态")
+ private String buildingStatus;
+
+ @Excel(name = "楼宇结构")
+ private String buildingStructure;
+
+ @Excel(name = "使用现状")
+ private String buildingUseage;
+
+ @Excel(name = "建筑时间")
+ private Date constructionTime;
+
+ @Excel(name = "所处位置")
+ private String buildingAddr;
+
+ @Excel(name = "小区(单位)名称")
+ private String communityName;
+
+ @Excel(name = "楼栋长")
+ private String buildingLeader;
+
+ @Excel(name = "楼层数")
+ private Integer layerCount;
+
+ @Excel(name = "地下楼层数")
+ private Integer basementLayerCount;
+
+ @Excel(name = "住宅开始层数")
+ private Integer houseBeginLayer;
+
+ @Excel(name = "单元数")
+ private Integer unitCount;
+
+ @Excel(name = "每层每单元户数")
+ private Integer layerRoomCount;
+
+ @Excel(name = "总房屋数")
+ private Integer roomCount;
+
+ @Excel(name = "电梯数量")
+ private String elevatorCount;
+
+ @Excel(name = "建筑面积")
+ private String buildingArea;
+
+ @Excel(name = "物业公司")
+ private String buildingPmc;
+
+ @Excel(name = "介绍")
+ private String buildingDesc;
+
+ @Excel(name = "标绘状态")
+ private String pointStatus;
+
+ @Excel(name = "经度")
+ private BigDecimal longitude;
+
+ @Excel(name = "纬度")
+ private BigDecimal latitude;
+
+ @Excel(name = "数据来源")
+ private String platCode;
+
+ @Excel(name = "创建人")
+ private Long createBy;
+
+ @Excel(name = "创建时间")
+ private Date createDate;
+
+ @Excel(name = "最后修改人")
+ private Long updateBy;
+
+ @Excel(name = "最后修改时间")
+ private Date updateDate;
+
+ @Excel(name = "删除状态")
+ private String deleteFlag;
+
+ @Excel(name = "乐观锁")
+ private Integer versions;
+
+ @Excel(name = "扩展字段1")
+ private String attribute1;
+
+ @Excel(name = "扩展字段2")
+ private String attribute2;
+
+ @Excel(name = "扩展字段3")
+ private String attribute3;
+
+ @Excel(name = "扩展字段4")
+ private String attribute4;
+
+ @Excel(name = "扩展字段5")
+ private String attribute5;
+
+ @Excel(name = "小区主键")
+ private Long attribute6;
+
+ @Excel(name = "扩展字段7")
+ private Long attribute7;
+
+ @Excel(name = "扩展字段8")
+ private Long attribute8;
+
+ @Excel(name = "扩展字段9")
+ private Date attribute9;
+
+ @Excel(name = "扩展字段10")
+ private Date attribute10;
+
+ @Excel(name = "小区主键")
+ private String communityId;
+
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaPingfangExcel.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaPingfangExcel.java
new file mode 100644
index 0000000000..4eadd5f8b3
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaPingfangExcel.java
@@ -0,0 +1,148 @@
+package com.epmet.opendata.excel;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import lombok.Data;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ *
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Data
+public class CaPingfangExcel {
+
+ @Excel(name = "楼栋ID")
+ private Long buildingId;
+
+ @Excel(name = "楼宇类型")
+ private String buildingType;
+
+ @Excel(name = "网格ID")
+ private Long gridId;
+
+ @Excel(name = "楼宇名称")
+ private String buildingName;
+
+ @Excel(name = "用途分类")
+ private String buildingUse;
+
+ @Excel(name = "楼宇状态")
+ private String buildingStatus;
+
+ @Excel(name = "楼宇结构")
+ private String buildingStructure;
+
+ @Excel(name = "使用现状")
+ private String buildingUseage;
+
+ @Excel(name = "建筑时间")
+ private Date constructionTime;
+
+ @Excel(name = "所处位置")
+ private String buildingAddr;
+
+ @Excel(name = "小区(单位)名称")
+ private String communityName;
+
+ @Excel(name = "楼栋长")
+ private String buildingLeader;
+
+ @Excel(name = "楼层数")
+ private Integer layerCount;
+
+ @Excel(name = "地下楼层数")
+ private Integer basementLayerCount;
+
+ @Excel(name = "住宅开始层数")
+ private Integer houseBeginLayer;
+
+ @Excel(name = "单元数")
+ private Integer unitCount;
+
+ @Excel(name = "每层每单元户数")
+ private Integer layerRoomCount;
+
+ @Excel(name = "总房屋数")
+ private Integer roomCount;
+
+ @Excel(name = "电梯数量")
+ private String elevatorCount;
+
+ @Excel(name = "建筑面积")
+ private String buildingArea;
+
+ @Excel(name = "物业公司")
+ private String buildingPmc;
+
+ @Excel(name = "介绍")
+ private String buildingDesc;
+
+ @Excel(name = "标绘状态")
+ private String pointStatus;
+
+ @Excel(name = "经度")
+ private BigDecimal longitude;
+
+ @Excel(name = "纬度")
+ private BigDecimal latitude;
+
+ @Excel(name = "数据来源")
+ private String platCode;
+
+ @Excel(name = "创建人")
+ private Long createBy;
+
+ @Excel(name = "创建时间")
+ private Date createDate;
+
+ @Excel(name = "最后修改人")
+ private Long updateBy;
+
+ @Excel(name = "最后修改时间")
+ private Date updateDate;
+
+ @Excel(name = "删除状态")
+ private String deleteFlag;
+
+ @Excel(name = "乐观锁")
+ private Integer versions;
+
+ @Excel(name = "扩展字段1")
+ private String attribute1;
+
+ @Excel(name = "扩展字段2")
+ private String attribute2;
+
+ @Excel(name = "扩展字段3")
+ private String attribute3;
+
+ @Excel(name = "扩展字段4")
+ private String attribute4;
+
+ @Excel(name = "扩展字段5")
+ private String attribute5;
+
+ @Excel(name = "小区主键")
+ private Long attribute6;
+
+ @Excel(name = "扩展字段7")
+ private Long attribute7;
+
+ @Excel(name = "扩展字段8")
+ private Long attribute8;
+
+ @Excel(name = "扩展字段9")
+ private Date attribute9;
+
+ @Excel(name = "扩展字段10")
+ private Date attribute10;
+
+ @Excel(name = "小区主键")
+ private String communityId;
+
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaRentalExcel.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaRentalExcel.java
new file mode 100644
index 0000000000..f4ccf8ee38
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaRentalExcel.java
@@ -0,0 +1,136 @@
+package com.epmet.opendata.excel;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import lombok.Data;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ * 出租房信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Data
+public class CaRentalExcel {
+
+ @Excel(name = "出租房ID")
+ private Long rentalId;
+
+ @Excel(name = "网格ID")
+ private Long gridId;
+
+ @Excel(name = "房屋ID")
+ private Long houseId;
+
+ @Excel(name = "房屋编号")
+ private String houseName;
+
+ @Excel(name = "房屋地址")
+ private String houseAddress;
+
+ @Excel(name = "建筑用途")
+ private String houseUse;
+
+ @Excel(name = "建筑面积(平方米)")
+ private BigDecimal houseArea;
+
+ @Excel(name = "证件代码")
+ private String idType;
+
+ @Excel(name = "证件号码")
+ private String idCard;
+
+ @Excel(name = "房主姓名")
+ private String residentName;
+
+ @Excel(name = "房主联系方式")
+ private String telephone;
+
+ @Excel(name = "房主现居详址")
+ private String curliveAddress;
+
+ @Excel(name = "出租用途")
+ private String rentUse;
+
+ @Excel(name = "隐患类型")
+ private String troubleType;
+
+ @Excel(name = "承租人ID")
+ private Long renterId;
+
+ @Excel(name = "承租人公民身份证号码")
+ private String renterCardNumber;
+
+ @Excel(name = "承租人证件类型")
+ private Long renterCardType;
+
+ @Excel(name = "承租人姓名")
+ private String renterName;
+
+ @Excel(name = "承租人联系方式")
+ private String renterPhone;
+
+ @Excel(name = "经度")
+ private BigDecimal longitude;
+
+ @Excel(name = "纬度")
+ private BigDecimal latitude;
+
+ @Excel(name = "标绘状态")
+ private String pointStatus;
+
+ @Excel(name = "数据来源")
+ private String platCode;
+
+ @Excel(name = "创建人")
+ private Long createBy;
+
+ @Excel(name = "创建时间")
+ private Date createDate;
+
+ @Excel(name = "最后修改人")
+ private Long updateBy;
+
+ @Excel(name = "最后修改时间")
+ private Date updateDate;
+
+ @Excel(name = "删除状态")
+ private String deleteFlag;
+
+ @Excel(name = "乐观锁")
+ private Integer versions;
+
+ @Excel(name = "承租单位")
+ private String attribute1;
+
+ @Excel(name = "承租日期")
+ private String attribute2;
+
+ @Excel(name = "承租期限")
+ private String attribute3;
+
+ @Excel(name = "扩展字段4")
+ private String attribute4;
+
+ @Excel(name = "扩展字段5")
+ private String attribute5;
+
+ @Excel(name = "扩展字段6")
+ private Long attribute6;
+
+ @Excel(name = "扩展字段7")
+ private Long attribute7;
+
+ @Excel(name = "扩展字段8")
+ private Long attribute8;
+
+ @Excel(name = "扩展字段9")
+ private Date attribute9;
+
+ @Excel(name = "扩展字段10")
+ private Date attribute10;
+
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaResidentExcel.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaResidentExcel.java
new file mode 100644
index 0000000000..5d3007c8e9
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaResidentExcel.java
@@ -0,0 +1,177 @@
+package com.epmet.opendata.excel;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import lombok.Data;
+
+import java.util.Date;
+
+/**
+ * 人口基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Data
+public class CaResidentExcel {
+
+ @Excel(name = "人口ID")
+ private Long residentId;
+
+ @Excel(name = "网格ID")
+ private Long gridId;
+
+ @Excel(name = "人口性质")
+ private String residentProperty;
+
+ @Excel(name = "居民分类")
+ private String residentType;
+
+ @Excel(name = "证件类型")
+ private String idType;
+
+ @Excel(name = "证件号码(公民身份证号)")
+ private String idCard;
+
+ @Excel(name = "姓名")
+ private String residentName;
+
+ @Excel(name = "性别")
+ private String sex;
+
+ @Excel(name = "出生日期")
+ private Date birthday;
+
+ @Excel(name = "民族")
+ private String nation;
+
+ @Excel(name = "联系方式")
+ private String telephone;
+
+ @Excel(name = "户籍省")
+ private String householdProv;
+
+ @Excel(name = "户籍市")
+ private String householdCity;
+
+ @Excel(name = "户籍县(区)")
+ private String householdCounty;
+
+ @Excel(name = "户籍镇街")
+ private String householdTown;
+
+ @Excel(name = "户籍社区/村")
+ private String householdVillage;
+
+ @Excel(name = "户籍详址")
+ private String householdAddressDetail;
+
+ @Excel(name = "现住省")
+ private String curliveProv;
+
+ @Excel(name = "现住市")
+ private String curliveCity;
+
+ @Excel(name = "现住县(区)")
+ private String curliveCounty;
+
+ @Excel(name = "现住镇街")
+ private String curliveTown;
+
+ @Excel(name = "现住社区/村")
+ private String curliveVillage;
+
+ @Excel(name = "现住详址")
+ private String curliveAddressDetail;
+
+ @Excel(name = "籍贯省")
+ private String nativeAddressProv;
+
+ @Excel(name = "籍贯市")
+ private String nativeAddressCity;
+
+ @Excel(name = "籍贯县(区)")
+ private String nativeAddressCounty;
+
+ @Excel(name = "曾用名")
+ private String formerName;
+
+ @Excel(name = "学历")
+ private String education;
+
+ @Excel(name = "职业")
+ private String occupation;
+
+ @Excel(name = "职业类别")
+ private String occupationType;
+
+ @Excel(name = "服务处所")
+ private String serviceAddress;
+
+ @Excel(name = "婚姻状况")
+ private String marriageStatus;
+
+ @Excel(name = "政治面貌")
+ private String party;
+
+ @Excel(name = "宗教信仰")
+ private String religious;
+
+ @Excel(name = "有无皈依(已受洗)")
+ private String conversionState;
+
+ @Excel(name = "国籍")
+ private String nationality;
+
+ @Excel(name = "数据来源")
+ private String platCode;
+
+ @Excel(name = "创建人")
+ private Long createBy;
+
+ @Excel(name = "创建时间")
+ private Date createDate;
+
+ @Excel(name = "最后修改人")
+ private Long updateBy;
+
+ @Excel(name = "最后修改时间")
+ private Date updateDate;
+
+ @Excel(name = "删除状态")
+ private String deleteFlag;
+
+ @Excel(name = "乐观锁")
+ private Integer versions;
+
+ @Excel(name = "扩展字段1")
+ private String attribute1;
+
+ @Excel(name = "扩展字段2")
+ private String attribute2;
+
+ @Excel(name = "扩展字段3")
+ private String attribute3;
+
+ @Excel(name = "扩展字段4")
+ private String attribute4;
+
+ @Excel(name = "扩展字段5")
+ private String attribute5;
+
+ @Excel(name = "扩展字段6")
+ private Long attribute6;
+
+ @Excel(name = "扩展字段7")
+ private Long attribute7;
+
+ @Excel(name = "扩展字段8")
+ private Long attribute8;
+
+ @Excel(name = "扩展字段9")
+ private Date attribute9;
+
+ @Excel(name = "扩展字段10")
+ private Date attribute10;
+
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaRotatorsExcel.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaRotatorsExcel.java
new file mode 100644
index 0000000000..a528ae4d29
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaRotatorsExcel.java
@@ -0,0 +1,186 @@
+package com.epmet.opendata.excel;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import lombok.Data;
+
+import java.util.Date;
+
+/**
+ * 流动人口表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Data
+public class CaRotatorsExcel {
+
+ @Excel(name = "主键id")
+ private Long rotatorsId;
+
+ @Excel(name = "公民身份证号")
+ private String idCard;
+
+ @Excel(name = "证件类型")
+ private String idType;
+
+ @Excel(name = "姓名")
+ private String rotatorsName;
+
+ @Excel(name = "曾用名")
+ private String formerName;
+
+ @Excel(name = "性别")
+ private String sex;
+
+ @Excel(name = "出生日期")
+ private Date birthday;
+
+ @Excel(name = "民族")
+ private String nation;
+
+ @Excel(name = "籍贯省")
+ private String nativeAddressProv;
+
+ @Excel(name = "籍贯市")
+ private String nativeAddressCity;
+
+ @Excel(name = "籍贯县(区)")
+ private String nativeAddressCountry;
+
+ @Excel(name = "婚姻状况")
+ private String marriageStatus;
+
+ @Excel(name = "政治面貌")
+ private String party;
+
+ @Excel(name = "学历")
+ private String education;
+
+ @Excel(name = "宗教信仰")
+ private String religious;
+
+ @Excel(name = "职业类别")
+ private String occupationType;
+
+ @Excel(name = "职业")
+ private String occupation;
+
+ @Excel(name = "服务处所")
+ private String serviceAddress;
+
+ @Excel(name = "联系方式")
+ private String telephone;
+
+ @Excel(name = "户籍地省")
+ private String householdAddressProv;
+
+ @Excel(name = "户籍地市")
+ private String householdAddressCity;
+
+ @Excel(name = "户籍地县(区)")
+ private String householdAddressCountry;
+
+ @Excel(name = "户籍地镇街")
+ private String householdAddressTown;
+
+ @Excel(name = "户籍地社区/村")
+ private String householdAddressVillage;
+
+ @Excel(name = "户籍门(楼)详址")
+ private String householdAddressDetail;
+
+ @Excel(name = "现住地省")
+ private String curliveAddressProv;
+
+ @Excel(name = "现住地市")
+ private String curliveAddressCity;
+
+ @Excel(name = "现住地县(区)")
+ private String curliveAddressCountry;
+
+ @Excel(name = "现住地镇街")
+ private String curliveAddressTown;
+
+ @Excel(name = "现住地社区/村")
+ private String curliveAddressVillage;
+
+ @Excel(name = "现住门(楼)详址")
+ private String curliveAddressDetail;
+
+ @Excel(name = "流入原因")
+ private String inflowReason;
+
+ @Excel(name = "办证类型")
+ private String certificateType;
+
+ @Excel(name = "证件号码")
+ private String certificateNumber;
+
+ @Excel(name = "登记日期")
+ private Date signDate;
+
+ @Excel(name = "证件到期日期")
+ private Date endDate;
+
+ @Excel(name = "住所类型")
+ private String residenceType;
+
+ @Excel(name = "是否重点关注人员")
+ private String isFocusPerson;
+
+ @Excel(name = "创建人")
+ private Long createBy;
+
+ @Excel(name = "创建时间")
+ private Date createDate;
+
+ @Excel(name = "最后修改人")
+ private Long updateBy;
+
+ @Excel(name = "最后修改时间")
+ private Date updateDate;
+
+ @Excel(name = "删除标识(正常的数据存:normal,逻辑删除的标识为:delete)")
+ private String deleteFlag;
+
+ @Excel(name = "数据来源编码")
+ private String platcode;
+
+ @Excel(name = "网格id")
+ private Long gridId;
+
+ @Excel(name = "乐观锁")
+ private Integer versions;
+
+ @Excel(name = "是否注销")
+ private String attribute1;
+
+ @Excel(name = "注销原因")
+ private String attribute2;
+
+ @Excel(name = "")
+ private String attribute3;
+
+ @Excel(name = "")
+ private String attribute4;
+
+ @Excel(name = "")
+ private String attribute5;
+
+ @Excel(name = "")
+ private Long attribute6;
+
+ @Excel(name = "")
+ private Long attribute7;
+
+ @Excel(name = "")
+ private Long attribute8;
+
+ @Excel(name = "")
+ private Date attribute9;
+
+ @Excel(name = "")
+ private Date attribute10;
+
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaLoudongRedis.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaLoudongRedis.java
new file mode 100644
index 0000000000..f6e9dce887
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaLoudongRedis.java
@@ -0,0 +1,30 @@
+package com.epmet.opendata.redis;
+
+import com.epmet.commons.tools.redis.RedisUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
+
+/**
+ * 楼栋基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Component
+public class CaLoudongRedis {
+ @Autowired
+ private RedisUtils redisUtils;
+
+ public void delete(Object[] ids) {
+
+ }
+
+ public void set(){
+
+ }
+
+ public String get(String id){
+ return null;
+ }
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaPingfangRedis.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaPingfangRedis.java
new file mode 100644
index 0000000000..8a992d6f15
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaPingfangRedis.java
@@ -0,0 +1,30 @@
+package com.epmet.opendata.redis;
+
+import com.epmet.commons.tools.redis.RedisUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
+
+/**
+ *
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Component
+public class CaPingfangRedis {
+ @Autowired
+ private RedisUtils redisUtils;
+
+ public void delete(Object[] ids) {
+
+ }
+
+ public void set(){
+
+ }
+
+ public String get(String id){
+ return null;
+ }
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaRentalRedis.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaRentalRedis.java
new file mode 100644
index 0000000000..54e13c1d97
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaRentalRedis.java
@@ -0,0 +1,30 @@
+package com.epmet.opendata.redis;
+
+import com.epmet.commons.tools.redis.RedisUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
+
+/**
+ * 出租房信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Component
+public class CaRentalRedis {
+ @Autowired
+ private RedisUtils redisUtils;
+
+ public void delete(Object[] ids) {
+
+ }
+
+ public void set(){
+
+ }
+
+ public String get(String id){
+ return null;
+ }
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaResidentRedis.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaResidentRedis.java
new file mode 100644
index 0000000000..d16105e371
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaResidentRedis.java
@@ -0,0 +1,30 @@
+package com.epmet.opendata.redis;
+
+import com.epmet.commons.tools.redis.RedisUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
+
+/**
+ * 人口基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Component
+public class CaResidentRedis {
+ @Autowired
+ private RedisUtils redisUtils;
+
+ public void delete(Object[] ids) {
+
+ }
+
+ public void set(){
+
+ }
+
+ public String get(String id){
+ return null;
+ }
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaRotatorsRedis.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaRotatorsRedis.java
new file mode 100644
index 0000000000..2f1552f8ba
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaRotatorsRedis.java
@@ -0,0 +1,30 @@
+package com.epmet.opendata.redis;
+
+import com.epmet.commons.tools.redis.RedisUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
+
+/**
+ * 流动人口表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Component
+public class CaRotatorsRedis {
+ @Autowired
+ private RedisUtils redisUtils;
+
+ public void delete(Object[] ids) {
+
+ }
+
+ public void set(){
+
+ }
+
+ public String get(String id){
+ return null;
+ }
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaLoudongService.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaLoudongService.java
new file mode 100644
index 0000000000..19a067ebe6
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaLoudongService.java
@@ -0,0 +1,110 @@
+package com.epmet.opendata.service;
+
+
+import com.epmet.commons.mybatis.service.BaseService;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.opendata.dto.ca.CaLoudongDTO;
+import com.epmet.opendata.dto.form.CaLoudongDetailsFormDTO;
+import com.epmet.opendata.dto.form.CaLoudongFormDTO;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.dto.result.CaLoudongDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaLoudongResultDTO;
+import com.epmet.opendata.entity.CaLoudongEntity;
+
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 楼栋基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+public interface CaLoudongService extends BaseService {
+
+ /**
+ * 默认分页
+ *
+ * @param params
+ * @return PageData
+ * @author generator
+ * @date 2022-05-31
+ */
+ PageData page(Map params);
+
+ /**
+ * 默认查询
+ *
+ * @param params
+ * @return java.util.List
+ * @author generator
+ * @date 2022-05-31
+ */
+ List list(Map params);
+
+ /**
+ * 单条查询
+ *
+ * @param id
+ * @return CaLoudongDTO
+ * @author generator
+ * @date 2022-05-31
+ */
+ CaLoudongDTO get(String id);
+
+ /**
+ * 默认保存
+ *
+ * @param dto
+ * @return void
+ * @author generator
+ * @date 2022-05-31
+ */
+ void save(CaLoudongDTO dto);
+
+ /**
+ * 默认更新
+ *
+ * @param dto
+ * @return void
+ * @author generator
+ * @date 2022-05-31
+ */
+ void update(CaLoudongDTO dto);
+
+ /**
+ * 批量删除
+ *
+ * @param ids
+ * @return void
+ * @author generator
+ * @date 2022-05-31
+ */
+ void delete(String[] ids);
+
+ /**
+ * 楼栋基本信息分页
+ *
+ * @param dto
+ * @return com.epmet.commons.tools.page.PageData
+ * @author LZN
+ * @date 2022/5/31 18:57
+ */
+ PageData getPage(CaLoudongFormDTO dto);
+
+ /**
+ * 楼栋基本信息详情
+ *
+ * @param dto
+ * @return
+ */
+ CaLoudongDetailsResultDTO getLouDongDetails(CaLoudongDetailsFormDTO dto);
+
+ /**
+ * 楼栋调用ruoyi接口存储数据
+ *
+ * @param dto
+ */
+ void preserLouDongVation(PreserVationFormDTO dto);
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaPingfangService.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaPingfangService.java
new file mode 100644
index 0000000000..26f6501df3
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaPingfangService.java
@@ -0,0 +1,105 @@
+package com.epmet.opendata.service;
+
+
+import com.epmet.commons.mybatis.service.BaseService;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.opendata.dto.ca.CaPingfangDTO;
+import com.epmet.opendata.dto.form.CaPingFangDetailsFormDTO;
+import com.epmet.opendata.dto.form.CaPingfangFormDTO;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.dto.result.CaPingFangDetailsResultDTO;
+import com.epmet.opendata.entity.CaPingfangEntity;
+
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+public interface CaPingfangService extends BaseService {
+
+ /**
+ * 默认分页
+ *
+ * @param params
+ * @return PageData
+ * @author generator
+ * @date 2022-05-31
+ */
+ PageData page(Map params);
+
+ /**
+ * 默认查询
+ *
+ * @param params
+ * @return java.util.List
+ * @author generator
+ * @date 2022-05-31
+ */
+ List list(Map params);
+
+ /**
+ * 单条查询
+ *
+ * @param id
+ * @return CaPingfangDTO
+ * @author generator
+ * @date 2022-05-31
+ */
+ CaPingfangDTO get(String id);
+
+ /**
+ * 默认保存
+ *
+ * @param dto
+ * @return void
+ * @author generator
+ * @date 2022-05-31
+ */
+ void save(CaPingfangDTO dto);
+
+ /**
+ * 默认更新
+ *
+ * @param dto
+ * @return void
+ * @author generator
+ * @date 2022-05-31
+ */
+ void update(CaPingfangDTO dto);
+
+ /**
+ * 批量删除
+ *
+ * @param ids
+ * @return void
+ * @author generator
+ * @date 2022-05-31
+ */
+ void delete(String[] ids);
+
+ /**
+ * 平房基础信息分页
+ *
+ * @param dto
+ * @return
+ */
+ PageData getPage(CaPingfangFormDTO dto);
+
+ /**
+ * 平房调用ruoyi接口存储数据
+ *
+ * @param dto
+ */
+ void preserPingFangVation(PreserVationFormDTO dto);
+
+ /**
+ * 平房详情
+ *
+ * @param dto
+ * @return
+ */
+ CaPingFangDetailsResultDTO getPingFangDetails(CaPingFangDetailsFormDTO dto);
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaRentalService.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaRentalService.java
new file mode 100644
index 0000000000..ae1f631b54
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaRentalService.java
@@ -0,0 +1,107 @@
+package com.epmet.opendata.service;
+
+import com.epmet.commons.mybatis.service.BaseService;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.opendata.dto.ca.CaRentalDTO;
+import com.epmet.opendata.dto.form.CaRentalDetailsFormDTO;
+import com.epmet.opendata.dto.form.CaRentalFormtDTO;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.dto.result.CaRentalDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaRentalResultDTO;
+import com.epmet.opendata.entity.CaRentalEntity;
+
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 出租房信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+public interface CaRentalService extends BaseService {
+
+ /**
+ * 默认分页
+ *
+ * @param params
+ * @return PageData
+ * @author generator
+ * @date 2022-05-31
+ */
+ PageData page(Map params);
+
+ /**
+ * 默认查询
+ *
+ * @param params
+ * @return java.util.List
+ * @author generator
+ * @date 2022-05-31
+ */
+ List list(Map params);
+
+ /**
+ * 单条查询
+ *
+ * @param id
+ * @return CaRentalDTO
+ * @author generator
+ * @date 2022-05-31
+ */
+ CaRentalDTO get(String id);
+
+ /**
+ * 默认保存
+ *
+ * @param dto
+ * @return void
+ * @author generator
+ * @date 2022-05-31
+ */
+ void save(CaRentalDTO dto);
+
+ /**
+ * 默认更新
+ *
+ * @param dto
+ * @return void
+ * @author generator
+ * @date 2022-05-31
+ */
+ void update(CaRentalDTO dto);
+
+ /**
+ * 批量删除
+ *
+ * @param ids
+ * @return void
+ * @author generator
+ * @date 2022-05-31
+ */
+ void delete(String[] ids);
+
+ /**
+ * 出租房信息分页
+ *
+ * @param dto
+ * @return
+ */
+ PageData getPage(CaRentalFormtDTO dto);
+
+ /**
+ * 出租房调用ruoyi接口存储数据
+ *
+ * @param dto
+ */
+ void preserRentalVation(PreserVationFormDTO dto);
+
+ /**
+ * 出租房详情
+ *
+ * @param dto
+ * @return
+ */
+ CaRentalDetailsResultDTO getRentalDetails(CaRentalDetailsFormDTO dto);
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaResidentService.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaResidentService.java
new file mode 100644
index 0000000000..0f1406b524
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaResidentService.java
@@ -0,0 +1,107 @@
+package com.epmet.opendata.service;
+
+import com.epmet.commons.mybatis.service.BaseService;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.opendata.dto.ca.CaResidentDTO;
+import com.epmet.opendata.dto.form.CaResidentDetailsFormDTO;
+import com.epmet.opendata.dto.form.CaResidentFormDTO;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.dto.result.CaResidentDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaResidentResultDTO;
+import com.epmet.opendata.entity.CaResidentEntity;
+
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 人口基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+public interface CaResidentService extends BaseService {
+
+ /**
+ * 默认分页
+ *
+ * @param params
+ * @return PageData
+ * @author generator
+ * @date 2022-05-31
+ */
+ PageData page(Map params);
+
+ /**
+ * 默认查询
+ *
+ * @param params
+ * @return java.util.List
+ * @author generator
+ * @date 2022-05-31
+ */
+ List list(Map params);
+
+ /**
+ * 单条查询
+ *
+ * @param id
+ * @return CaResidentDTO
+ * @author generator
+ * @date 2022-05-31
+ */
+ CaResidentDTO get(String id);
+
+ /**
+ * 默认保存
+ *
+ * @param dto
+ * @return void
+ * @author generator
+ * @date 2022-05-31
+ */
+ void save(CaResidentDTO dto);
+
+ /**
+ * 默认更新
+ *
+ * @param dto
+ * @return void
+ * @author generator
+ * @date 2022-05-31
+ */
+ void update(CaResidentDTO dto);
+
+ /**
+ * 批量删除
+ *
+ * @param ids
+ * @return void
+ * @author generator
+ * @date 2022-05-31
+ */
+ void delete(String[] ids);
+
+ /**
+ * 人口基本信息分页
+ *
+ * @param dto
+ * @return
+ */
+ PageData getPage(CaResidentFormDTO dto);
+
+ /**
+ * 人口基本信息调用ruoyi接口存储数据
+ *
+ * @param dto
+ */
+ void preserResidentVation(PreserVationFormDTO dto);
+
+ /**
+ * 人口基本信息详情
+ *
+ * @param dto
+ * @return
+ */
+ CaResidentDetailsResultDTO getResidentDetails(CaResidentDetailsFormDTO dto);
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaRotatorsService.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaRotatorsService.java
new file mode 100644
index 0000000000..f114134bf7
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaRotatorsService.java
@@ -0,0 +1,106 @@
+package com.epmet.opendata.service;
+
+import com.epmet.commons.mybatis.service.BaseService;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.opendata.dto.ca.CaRotatorsDTO;
+import com.epmet.opendata.dto.form.CaRotatorsDetailsFormDTO;
+import com.epmet.opendata.dto.form.CaRotatorsFormDTO;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.dto.result.CaRotatorsDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaRotatorsResultDTO;
+import com.epmet.opendata.entity.CaRotatorsEntity;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 流动人口表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+public interface CaRotatorsService extends BaseService {
+
+ /**
+ * 默认分页
+ *
+ * @param params
+ * @return PageData
+ * @author generator
+ * @date 2022-05-31
+ */
+ PageData page(Map params);
+
+ /**
+ * 默认查询
+ *
+ * @param params
+ * @return java.util.List
+ * @author generator
+ * @date 2022-05-31
+ */
+ List list(Map params);
+
+ /**
+ * 单条查询
+ *
+ * @param id
+ * @return CaRotatorsDTO
+ * @author generator
+ * @date 2022-05-31
+ */
+ CaRotatorsDTO get(String id);
+
+ /**
+ * 默认保存
+ *
+ * @param dto
+ * @return void
+ * @author generator
+ * @date 2022-05-31
+ */
+ void save(CaRotatorsDTO dto);
+
+ /**
+ * 默认更新
+ *
+ * @param dto
+ * @return void
+ * @author generator
+ * @date 2022-05-31
+ */
+ void update(CaRotatorsDTO dto);
+
+ /**
+ * 批量删除
+ *
+ * @param ids
+ * @return void
+ * @author generator
+ * @date 2022-05-31
+ */
+ void delete(String[] ids);
+
+ /**
+ * 流动人口表
+ *
+ * @param dto
+ * @return
+ */
+ PageData getPage(CaRotatorsFormDTO dto);
+
+ /**
+ * 流动人口调用ruoyi接口存储数据
+ *
+ * @param dto
+ */
+ void preserRotatorsVation(PreserVationFormDTO dto);
+
+ /**
+ * 流动人口详情
+ *
+ * @param dto
+ * @return
+ */
+ CaRotatorsDetailsResultDTO getRotatorsDetails(CaRotatorsDetailsFormDTO dto);
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/GuardarDatosTaskService.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/GuardarDatosTaskService.java
new file mode 100644
index 0000000000..fbd89caa2f
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/GuardarDatosTaskService.java
@@ -0,0 +1,16 @@
+package com.epmet.opendata.service;
+
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+
+/**
+ * 定时任务
+ *
+ * @param
+ * @author LZN
+ * @return
+ * @date 2022/6/7 15:54
+ */
+public interface GuardarDatosTaskService {
+
+ void guardarDatosTask(PreserVationFormDTO dto);
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaLoudongServiceImpl.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaLoudongServiceImpl.java
new file mode 100644
index 0000000000..bd2f41b004
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaLoudongServiceImpl.java
@@ -0,0 +1,202 @@
+package com.epmet.opendata.service.impl;
+
+import com.alibaba.fastjson.JSON;
+import com.alibaba.fastjson.JSONObject;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.epmet.commons.mybatis.service.impl.BaseServiceImpl;
+import com.epmet.commons.tools.constant.FieldConstant;
+import com.epmet.commons.tools.constant.NumConstant;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.commons.tools.utils.ConvertUtils;
+import com.epmet.commons.tools.utils.HttpClientManager;
+import com.epmet.commons.tools.utils.Result;
+import com.epmet.opendata.dao.CaLoudongDao;
+import com.epmet.opendata.dto.ca.CaLoudongDTO;
+import com.epmet.opendata.dto.constant.CaWghDataConstant;
+import com.epmet.opendata.dto.form.CaLoudongDetailsFormDTO;
+import com.epmet.opendata.dto.form.CaLoudongFormDTO;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.dto.result.CaLoudongDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaLoudongResultDTO;
+import com.epmet.opendata.entity.CaLoudongEntity;
+import com.epmet.opendata.redis.CaLoudongRedis;
+import com.epmet.opendata.service.CaLoudongService;
+import com.epmet.opendata.util.AesUtils;
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
+import org.apache.commons.lang3.StringUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+import java.util.*;
+
+/**
+ * 楼栋基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Service
+public class CaLoudongServiceImpl extends BaseServiceImpl implements CaLoudongService {
+
+ @Autowired
+ private CaLoudongRedis caLoudongRedis;
+
+// @Override
+// public PageData page(Map params) {
+// IPage page = baseDao.selectPage(
+// getPage(params, FieldConstant.CREATED_TIME, false),
+// getWrapper(params)
+// );
+// return getPageData(page, CaLoudongDTO.class);
+// }
+
+ @Override
+ public PageData page(Map params) {
+ PageHelper.startPage((int) (params.get("limit")), (int) (params.get("pageSize")));
+ List list = baseDao.getList();
+ PageInfo info = new PageInfo<>(list);
+ return new PageData<>(list, info.getTotal());
+ }
+
+ @Override
+ public List list(Map params) {
+ List entityList = baseDao.selectList(getWrapper(params));
+
+ return ConvertUtils.sourceToTarget(entityList, CaLoudongDTO.class);
+ }
+
+ private QueryWrapper getWrapper(Map params) {
+ String id = (String) params.get(FieldConstant.ID_HUMP);
+
+ QueryWrapper wrapper = new QueryWrapper<>();
+ wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id);
+
+ return wrapper;
+ }
+
+ @Override
+ public CaLoudongDTO get(String id) {
+ CaLoudongEntity entity = baseDao.selectById(id);
+ return ConvertUtils.sourceToTarget(entity, CaLoudongDTO.class);
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void save(CaLoudongDTO dto) {
+ CaLoudongEntity entity = ConvertUtils.sourceToTarget(dto, CaLoudongEntity.class);
+ insert(entity);
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void update(CaLoudongDTO dto) {
+ CaLoudongEntity entity = ConvertUtils.sourceToTarget(dto, CaLoudongEntity.class);
+ updateById(entity);
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void delete(String[] ids) {
+ // 逻辑删除(@TableLogic 注解)
+ baseDao.deleteBatchIds(Arrays.asList(ids));
+ }
+
+ @Override
+ public PageData getPage(CaLoudongFormDTO dto) {
+ PageHelper.startPage(dto.getPage(), dto.getLimit());
+ List result = baseDao.getPage(dto.getCommunityName(), dto.getBuildingName());
+ PageInfo info = new PageInfo<>(result);
+ return new PageData<>(result, info.getTotal());
+ }
+
+ /**
+ * 楼栋基本信息详情
+ *
+ * @param dto
+ * @return com.epmet.opendata.dto.result.CaLoudongDetailsResultDTO
+ * @author LZN
+ * @date 2022/6/2 13:40
+ */
+ @Override
+ public CaLoudongDetailsResultDTO getLouDongDetails(CaLoudongDetailsFormDTO dto) {
+ CaLoudongDetailsResultDTO result = baseDao.getLouDongDetails(dto.getBuildingId());
+ return result;
+ }
+
+ /**
+ * 楼栋调用ruoyi接口存储数据
+ *
+ * @param dto
+ * @return void
+ * @author LZN
+ * @date 2022/6/2 10:03
+ */
+ @Override
+ public void preserLouDongVation(PreserVationFormDTO dto) {
+ baseDao.deleteAll();
+ dto.setPageNo(NumConstant.ONE);
+ dto.setPageSize(NumConstant.FIFTY);
+ dto.setTableSchema(CaWghDataConstant.TABLESCHEMA_UNICOM);
+ dto.setTableName(CaWghDataConstant.UNICOM_LOUDONG);
+
+ dto.setWhereCase("delete_flag = 'normal'");
+ dto.setOrderBy("grid_id,update_date desc");
+
+ int pageNo = 1;
+
+ int total = 0;
+
+ do {
+ try {
+ total = listLouDong(dto);
+ pageNo++;
+ dto.setPageNo(pageNo);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ } while (total > (pageNo * NumConstant.FIFTY));
+ }
+
+
+ private int listLouDong(PreserVationFormDTO dto) throws Exception {
+ String aes = AesUtils.encryptByAES(JSONObject.toJSONString(dto), CaWghDataConstant.AESKEY);
+ JSONObject obj = new JSONObject();
+ obj.put(CaWghDataConstant.UNICOM_CONDITION, aes);
+ String data = HttpClientManager.getInstance().sendPostByJSON(CaWghDataConstant.DATA_URL_UNICON, obj.toJSONString()).getData();
+ JSONObject toResult = JSON.parseObject(data);
+ Result result = ConvertUtils.mapToEntity(toResult, Result.class);
+ if (!result.success()) {
+ return dto.getPageNo() + 1;
+ }
+
+ ReturnDate returnDate = JSONObject.parseObject(JSONObject.toJSONString(result.getData()), ReturnDate.class);
+ this.insertBatch(returnDate.getList());
+ return returnDate.getTotal();
+ }
+
+ static class ReturnDate {
+
+ private int total;
+ private List list;
+
+
+ public int getTotal() {
+ return total;
+ }
+
+ public void setTotal(int total) {
+ this.total = total;
+ }
+
+ public List getList() {
+ return list;
+ }
+
+ public void setList(List list) {
+ this.list = list;
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaPingfangServiceImpl.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaPingfangServiceImpl.java
new file mode 100644
index 0000000000..541726c478
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaPingfangServiceImpl.java
@@ -0,0 +1,188 @@
+package com.epmet.opendata.service.impl;
+
+import com.alibaba.fastjson.JSON;
+import com.alibaba.fastjson.JSONObject;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.epmet.commons.mybatis.service.impl.BaseServiceImpl;
+import com.epmet.commons.tools.constant.FieldConstant;
+import com.epmet.commons.tools.constant.NumConstant;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.commons.tools.utils.ConvertUtils;
+import com.epmet.commons.tools.utils.HttpClientManager;
+import com.epmet.commons.tools.utils.Result;
+import com.epmet.opendata.dao.CaPingfangDao;
+import com.epmet.opendata.dto.ca.CaPingfangDTO;
+import com.epmet.opendata.dto.constant.CaWghDataConstant;
+import com.epmet.opendata.dto.form.CaPingFangDetailsFormDTO;
+import com.epmet.opendata.dto.form.CaPingfangFormDTO;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.dto.result.CaPingFangDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaPingfangResultDTO;
+import com.epmet.opendata.entity.CaPingfangEntity;
+import com.epmet.opendata.redis.CaPingfangRedis;
+import com.epmet.opendata.service.CaPingfangService;
+import com.epmet.opendata.util.AesUtils;
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
+import org.apache.commons.lang3.StringUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Service
+public class CaPingfangServiceImpl extends BaseServiceImpl implements CaPingfangService {
+
+ @Autowired
+ private CaPingfangRedis caPingfangRedis;
+
+ @Override
+ public PageData page(Map params) {
+ IPage page = baseDao.selectPage(
+ getPage(params, FieldConstant.CREATED_TIME, false),
+ getWrapper(params)
+ );
+ return getPageData(page, CaPingfangDTO.class);
+ }
+
+ @Override
+ public List list(Map params) {
+ List entityList = baseDao.selectList(getWrapper(params));
+
+ return ConvertUtils.sourceToTarget(entityList, CaPingfangDTO.class);
+ }
+
+ private QueryWrapper getWrapper(Map params) {
+ String id = (String) params.get(FieldConstant.ID_HUMP);
+
+ QueryWrapper wrapper = new QueryWrapper<>();
+ wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id);
+
+ return wrapper;
+ }
+
+ @Override
+ public CaPingfangDTO get(String id) {
+ CaPingfangEntity entity = baseDao.selectById(id);
+ return ConvertUtils.sourceToTarget(entity, CaPingfangDTO.class);
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void save(CaPingfangDTO dto) {
+ CaPingfangEntity entity = ConvertUtils.sourceToTarget(dto, CaPingfangEntity.class);
+ insert(entity);
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void update(CaPingfangDTO dto) {
+ CaPingfangEntity entity = ConvertUtils.sourceToTarget(dto, CaPingfangEntity.class);
+ updateById(entity);
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void delete(String[] ids) {
+ // 逻辑删除(@TableLogic 注解)
+ baseDao.deleteBatchIds(Arrays.asList(ids));
+ }
+
+ @Override
+ public PageData getPage(CaPingfangFormDTO dto) {
+ PageHelper.startPage(dto.getPage(), dto.getLimit());
+ List result = baseDao.getPage(dto.getBuildingName(), dto.getCommunityName());
+ PageInfo info = new PageInfo<>(result);
+ return new PageData<>(result, info.getTotal());
+ }
+
+ /**
+ * 平房调用ruoyi接口存储数据
+ *
+ * @param dto
+ * @return void
+ * @author LZN
+ * @date 2022/6/2 10:21
+ */
+ @Override
+ public void preserPingFangVation(PreserVationFormDTO dto) {
+ baseDao.deleteAll();
+
+ dto.setPageNo(NumConstant.ONE);
+ dto.setPageSize(NumConstant.FIFTY);
+ dto.setTableSchema(CaWghDataConstant.TABLESCHEMA_UNICOM);
+ dto.setTableName(CaWghDataConstant.UNICOM_PINGFANG);
+
+ dto.setWhereCase("delete_flag = 'normal'");
+ dto.setOrderBy("grid_id,update_date desc");
+
+ int pageNo = 1;
+
+ int total = 0;
+
+ do {
+ try {
+ total = listPingFang(dto);
+ pageNo++;
+ dto.setPageNo(pageNo);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ } while (total > (pageNo * NumConstant.FIFTY));
+ }
+
+
+ @Override
+ public CaPingFangDetailsResultDTO getPingFangDetails(CaPingFangDetailsFormDTO dto) {
+ CaPingFangDetailsResultDTO result = baseDao.getPingFangDetails(dto.getBuildingId());
+ return result;
+ }
+
+ private int listPingFang(PreserVationFormDTO dto) throws Exception {
+ String aes = AesUtils.encryptByAES(JSONObject.toJSONString(dto), CaWghDataConstant.AESKEY);
+ JSONObject obj = new JSONObject();
+ obj.put(CaWghDataConstant.UNICOM_CONDITION,aes);
+ String data = HttpClientManager.getInstance().sendPostByJSON(CaWghDataConstant.DATA_URL_UNICON, obj.toJSONString()).getData();
+ JSONObject toResult = JSON.parseObject(data);
+ Result result = ConvertUtils.mapToEntity(toResult, Result.class);
+ if (!result.success()) {
+ return dto.getPageNo() + 1;
+ }
+
+ ReturnDate returnDate = JSONObject.parseObject(JSONObject.toJSONString(result.getData()), ReturnDate.class);
+ this.insertBatch(returnDate.getList());
+ return returnDate.getTotal();
+ }
+
+ static class ReturnDate {
+
+ private int total;
+ private List list;
+
+
+ public int getTotal() {
+ return total;
+ }
+
+ public void setTotal(int total) {
+ this.total = total;
+ }
+
+ public List getList() {
+ return list;
+ }
+
+ public void setList(List list) {
+ this.list = list;
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaRentalServiceImpl.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaRentalServiceImpl.java
new file mode 100644
index 0000000000..6cb0e53410
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaRentalServiceImpl.java
@@ -0,0 +1,194 @@
+package com.epmet.opendata.service.impl;
+
+import com.alibaba.fastjson.JSON;
+import com.alibaba.fastjson.JSONObject;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.epmet.commons.mybatis.service.impl.BaseServiceImpl;
+import com.epmet.commons.tools.constant.NumConstant;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.commons.tools.utils.ConvertUtils;
+import com.epmet.commons.tools.constant.FieldConstant;
+
+import com.epmet.commons.tools.utils.HttpClientManager;
+import com.epmet.commons.tools.utils.Result;
+import com.epmet.opendata.dao.CaRentalDao;
+import com.epmet.opendata.dto.ca.CaRentalDTO;
+import com.epmet.opendata.dto.constant.CaWghDataConstant;
+import com.epmet.opendata.dto.form.CaRentalDetailsFormDTO;
+import com.epmet.opendata.dto.form.CaRentalFormtDTO;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.dto.result.CaRentalDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaRentalResultDTO;
+import com.epmet.opendata.entity.CaRentalEntity;
+import com.epmet.opendata.redis.CaRentalRedis;
+import com.epmet.opendata.service.CaRentalService;
+import com.epmet.opendata.util.AesUtils;
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
+import org.apache.commons.lang3.StringUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 出租房信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Service
+public class CaRentalServiceImpl extends BaseServiceImpl implements CaRentalService {
+
+ @Autowired
+ private CaRentalRedis caRentalRedis;
+
+ @Override
+ public PageData page(Map params) {
+ IPage page = baseDao.selectPage(
+ getPage(params, FieldConstant.CREATED_TIME, false),
+ getWrapper(params)
+ );
+ return getPageData(page, CaRentalDTO.class);
+ }
+
+ @Override
+ public List list(Map params) {
+ List entityList = baseDao.selectList(getWrapper(params));
+
+ return ConvertUtils.sourceToTarget(entityList, CaRentalDTO.class);
+ }
+
+ private QueryWrapper getWrapper(Map params) {
+ String id = (String) params.get(FieldConstant.ID_HUMP);
+
+ QueryWrapper wrapper = new QueryWrapper<>();
+ wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id);
+
+ return wrapper;
+ }
+
+ @Override
+ public CaRentalDTO get(String id) {
+ CaRentalEntity entity = baseDao.selectById(id);
+ return ConvertUtils.sourceToTarget(entity, CaRentalDTO.class);
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void save(CaRentalDTO dto) {
+ CaRentalEntity entity = ConvertUtils.sourceToTarget(dto, CaRentalEntity.class);
+ insert(entity);
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void update(CaRentalDTO dto) {
+ CaRentalEntity entity = ConvertUtils.sourceToTarget(dto, CaRentalEntity.class);
+ updateById(entity);
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void delete(String[] ids) {
+ // 逻辑删除(@TableLogic 注解)
+ baseDao.deleteBatchIds(Arrays.asList(ids));
+ }
+
+ @Override
+ public PageData getPage(CaRentalFormtDTO dto) {
+ PageHelper.startPage(dto.getPage(), dto.getLimit());
+ List result = baseDao.getPage(dto.getResidentName(),
+ dto.getHouseName(),
+ dto.getRenterName());
+ PageInfo info = new PageInfo<>(result);
+ return new PageData<>(result, info.getTotal());
+ }
+
+ /**
+ * 出租房调用ruoyi接口存储数据
+ *
+ * @param dto
+ * @return void
+ * @author LZN
+ * @date 2022/6/2 10:31
+ */
+ @Override
+ public void preserRentalVation(PreserVationFormDTO dto) {
+ baseDao.deleteAll();
+
+ dto.setPageNo(NumConstant.ONE);
+ dto.setPageSize(NumConstant.FIFTY);
+ dto.setTableSchema(CaWghDataConstant.TABLESCHEMA_UNICOM);
+ dto.setTableName(CaWghDataConstant.UNICOM_RENTAL);
+
+ dto.setWhereCase("delete_flag = 'normal'");
+ dto.setOrderBy("grid_id,update_date desc");
+
+ int pageNo = 1;
+
+ int total = 0;
+
+ do {
+ try {
+ total = listRental(dto);
+ pageNo++;
+ dto.setPageNo(pageNo);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ } while (total > (pageNo * NumConstant.FIFTY));
+
+ }
+
+ @Override
+ public CaRentalDetailsResultDTO getRentalDetails(CaRentalDetailsFormDTO dto) {
+ CaRentalDetailsResultDTO result = baseDao.getRentalDetails(dto.getRentalId());
+ return result;
+ }
+
+ private int listRental(PreserVationFormDTO dto) throws Exception {
+ String aes = AesUtils.encryptByAES(JSONObject.toJSONString(dto), CaWghDataConstant.AESKEY);
+ JSONObject obj = new JSONObject();
+ obj.put(CaWghDataConstant.UNICOM_CONDITION, aes);
+ String data = HttpClientManager.getInstance().sendPostByJSON(CaWghDataConstant.DATA_URL_UNICON, obj.toJSONString()).getData();
+ JSONObject toResult = JSON.parseObject(data);
+ Result result = ConvertUtils.mapToEntity(toResult, Result.class);
+ if (!result.success()) {
+ return dto.getPageNo() + 1;
+ }
+
+ ReturnDate returnDate = JSONObject.parseObject(JSONObject.toJSONString(result.getData()), ReturnDate.class);
+ this.insertBatch(returnDate.getList());
+ return returnDate.getTotal();
+ }
+
+ static class ReturnDate {
+
+ private int total;
+ private List list;
+
+
+ public int getTotal() {
+ return total;
+ }
+
+ public void setTotal(int total) {
+ this.total = total;
+ }
+
+ public List getList() {
+ return list;
+ }
+
+ public void setList(List list) {
+ this.list = list;
+ }
+ }
+
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaResidentServiceImpl.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaResidentServiceImpl.java
new file mode 100644
index 0000000000..e66d249fa9
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaResidentServiceImpl.java
@@ -0,0 +1,206 @@
+package com.epmet.opendata.service.impl;
+
+import com.alibaba.fastjson.JSON;
+import com.alibaba.fastjson.JSONObject;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.epmet.commons.mybatis.service.impl.BaseServiceImpl;
+import com.epmet.commons.tools.constant.FieldConstant;
+import com.epmet.commons.tools.constant.NumConstant;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.commons.tools.utils.ConvertUtils;
+import com.epmet.commons.tools.utils.HttpClientManager;
+import com.epmet.commons.tools.utils.Result;
+import com.epmet.feign.EpmetUserOpenFeignClient;
+import com.epmet.opendata.dao.CaResidentDao;
+import com.epmet.opendata.dto.ca.CaResidentDTO;
+import com.epmet.opendata.dto.constant.CaWghDataConstant;
+import com.epmet.opendata.dto.form.CaResidentDetailsFormDTO;
+import com.epmet.opendata.dto.form.CaResidentFormDTO;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.dto.result.CaResidentDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaResidentResultDTO;
+import com.epmet.opendata.entity.CaResidentEntity;
+import com.epmet.opendata.redis.CaResidentRedis;
+import com.epmet.opendata.service.CaResidentService;
+import com.epmet.opendata.util.AesUtils;
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
+import org.apache.commons.lang3.StringUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 人口基本信息表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Service
+public class CaResidentServiceImpl extends BaseServiceImpl implements CaResidentService {
+
+ @Autowired
+ private CaResidentRedis caResidentRedis;
+
+ @Autowired
+ private EpmetUserOpenFeignClient openFeignClient;
+
+ @Override
+ public PageData page(Map params) {
+ IPage page = baseDao.selectPage(
+ getPage(params, FieldConstant.CREATED_TIME, false),
+ getWrapper(params)
+ );
+ return getPageData(page, CaResidentDTO.class);
+ }
+
+ @Override
+ public List list(Map params) {
+ List entityList = baseDao.selectList(getWrapper(params));
+
+ return ConvertUtils.sourceToTarget(entityList, CaResidentDTO.class);
+ }
+
+ private QueryWrapper getWrapper(Map params) {
+ String id = (String) params.get(FieldConstant.ID_HUMP);
+
+ QueryWrapper wrapper = new QueryWrapper<>();
+ wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id);
+
+ return wrapper;
+ }
+
+ @Override
+ public CaResidentDTO get(String id) {
+ CaResidentEntity entity = baseDao.selectById(id);
+ return ConvertUtils.sourceToTarget(entity, CaResidentDTO.class);
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void save(CaResidentDTO dto) {
+ CaResidentEntity entity = ConvertUtils.sourceToTarget(dto, CaResidentEntity.class);
+ insert(entity);
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void update(CaResidentDTO dto) {
+ CaResidentEntity entity = ConvertUtils.sourceToTarget(dto, CaResidentEntity.class);
+ updateById(entity);
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void delete(String[] ids) {
+ // 逻辑删除(@TableLogic 注解)
+ baseDao.deleteBatchIds(Arrays.asList(ids));
+ }
+
+ @Override
+ public PageData getPage(CaResidentFormDTO dto) {
+ PageHelper.startPage(dto.getPage(), dto.getLimit());
+ List result = baseDao.getPage(dto.getResidentName(),
+ dto.getIdCard(),
+ dto.getTelephone());
+ PageInfo info = new PageInfo<>(result);
+ return new PageData<>(result, info.getTotal());
+ }
+
+ /**
+ * 人口基本信息调用ruoyi接口存储数据
+ *
+ * @param dto
+ * @return void
+ * @author LZN
+ * @date 2022/6/2 10:47
+ */
+ @Override
+ public void preserResidentVation(PreserVationFormDTO dto) {
+ baseDao.deleteAll();
+
+ dto.setPageNo(NumConstant.ONE);
+ dto.setPageSize(NumConstant.FIFTY);
+ dto.setTableSchema(CaWghDataConstant.TABLESCHEMA_UNICOM);
+ dto.setTableName(CaWghDataConstant.UNICOM_RESIDENT);
+
+ dto.setWhereCase("delete_flag = 'normal'");
+ dto.setOrderBy("grid_id,update_date desc");
+
+ int pageNo = 1;
+
+ int total = 0;
+
+ do {
+ try {
+ total = listResident(dto);
+ pageNo++;
+ dto.setPageNo(pageNo);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ } while (total > (pageNo * NumConstant.FIFTY));
+ }
+
+ @Override
+ public CaResidentDetailsResultDTO getResidentDetails(CaResidentDetailsFormDTO dto) {
+ CaResidentDetailsResultDTO result = baseDao.getResidentDetails(dto.getIdCard());
+ return result;
+ }
+
+
+ private int listResident(PreserVationFormDTO dto) throws Exception {
+ String aes = AesUtils.encryptByAES(JSONObject.toJSONString(dto), CaWghDataConstant.AESKEY);
+ JSONObject obj = new JSONObject();
+ obj.put(CaWghDataConstant.UNICOM_CONDITION,aes);
+ String data = HttpClientManager.getInstance().sendPostByJSON(CaWghDataConstant.DATA_URL_UNICON, obj.toJSONString()).getData();
+ JSONObject toResult = JSON.parseObject(data);
+ Result result = ConvertUtils.mapToEntity(toResult, Result.class);
+ if (!result.success()) {
+ return dto.getPageNo() + 1;
+ }
+
+ ReturnDate returnDate = JSONObject.parseObject(JSONObject.toJSONString(result.getData()), ReturnDate.class);
+
+// returnDate.getList().forEach(item -> {
+// if (StringUtils.isNotBlank(item.getIdCard())) {
+// Result client = openFeignClient.getByResiIdCard(item.getIdCard());
+// IcResiUserDTO clientData = client.getData();
+// item.setIcResiUser(clientData.getId());
+// item.setHomeId(clientData.getHomeId());
+// }
+// });
+
+ this.insertBatch(returnDate.getList());
+ return returnDate.getTotal();
+ }
+
+ static class ReturnDate {
+
+ private int total;
+ private List list;
+
+
+ public int getTotal() {
+ return total;
+ }
+
+ public void setTotal(int total) {
+ this.total = total;
+ }
+
+ public List getList() {
+ return list;
+ }
+
+ public void setList(List list) {
+ this.list = list;
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaRotatorsServiceImpl.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaRotatorsServiceImpl.java
new file mode 100644
index 0000000000..71ebb9a3da
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaRotatorsServiceImpl.java
@@ -0,0 +1,220 @@
+package com.epmet.opendata.service.impl;
+
+import com.alibaba.fastjson.JSON;
+import com.alibaba.fastjson.JSONObject;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.epmet.commons.mybatis.service.impl.BaseServiceImpl;
+import com.epmet.commons.tools.constant.NumConstant;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.commons.tools.utils.ConvertUtils;
+import com.epmet.commons.tools.constant.FieldConstant;
+import com.epmet.commons.tools.utils.HttpClientManager;
+import com.epmet.commons.tools.utils.Result;
+import com.epmet.feign.EpmetUserOpenFeignClient;
+import com.epmet.opendata.dao.CaRotatorsDao;
+import com.epmet.opendata.dto.ca.CaRotatorsDTO;
+import com.epmet.opendata.dto.constant.CaWghDataConstant;
+import com.epmet.opendata.dto.form.CaRotatorsDetailsFormDTO;
+import com.epmet.opendata.dto.form.CaRotatorsFormDTO;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.dto.result.CaRotatorsDetailsResultDTO;
+import com.epmet.opendata.dto.result.CaRotatorsResultDTO;
+import com.epmet.opendata.entity.CaRotatorsEntity;
+import com.epmet.opendata.redis.CaRotatorsRedis;
+import com.epmet.opendata.service.CaRotatorsService;
+import com.epmet.opendata.util.AesUtils;
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
+import org.apache.commons.lang3.StringUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 流动人口表
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2022-05-31
+ */
+@Service
+public class CaRotatorsServiceImpl extends BaseServiceImpl implements CaRotatorsService {
+
+ @Autowired
+ private CaRotatorsRedis caRotatorsRedis;
+
+ @Autowired
+ private EpmetUserOpenFeignClient openFeignClient;
+
+ @Override
+ public PageData page(Map params) {
+ IPage page = baseDao.selectPage(
+ getPage(params, FieldConstant.CREATED_TIME, false),
+ getWrapper(params)
+ );
+ return getPageData(page, CaRotatorsDTO.class);
+ }
+
+ @Override
+ public List list(Map params) {
+ List entityList = baseDao.selectList(getWrapper(params));
+
+ return ConvertUtils.sourceToTarget(entityList, CaRotatorsDTO.class);
+ }
+
+ private QueryWrapper getWrapper(Map params) {
+ String id = (String) params.get(FieldConstant.ID_HUMP);
+
+ QueryWrapper wrapper = new QueryWrapper<>();
+ wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id);
+
+ return wrapper;
+ }
+
+ @Override
+ public CaRotatorsDTO get(String id) {
+ CaRotatorsEntity entity = baseDao.selectById(id);
+ return ConvertUtils.sourceToTarget(entity, CaRotatorsDTO.class);
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void save(CaRotatorsDTO dto) {
+ CaRotatorsEntity entity = ConvertUtils.sourceToTarget(dto, CaRotatorsEntity.class);
+ insert(entity);
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void update(CaRotatorsDTO dto) {
+ CaRotatorsEntity entity = ConvertUtils.sourceToTarget(dto, CaRotatorsEntity.class);
+ updateById(entity);
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void delete(String[] ids) {
+ // 逻辑删除(@TableLogic 注解)
+ baseDao.deleteBatchIds(Arrays.asList(ids));
+ }
+
+ @Override
+ public PageData getPage(CaRotatorsFormDTO dto) {
+ PageHelper.startPage(dto.getPage(), dto.getLimit());
+ List result = baseDao.getPage(dto.getRotatorsName(),
+ dto.getIdCard(),
+ dto.getTelephone());
+ PageInfo info = new PageInfo<>(result);
+ return new PageData<>(result, info.getTotal());
+ }
+
+ /**
+ * 流动人口调用ruoyi接口存储数据
+ *
+ * @param dto
+ * @return void
+ * @author LZN
+ * @date 2022/6/2 11:01
+ */
+ @Override
+ public void preserRotatorsVation(PreserVationFormDTO dto) {
+ baseDao.deleteAll();
+ dto.setPageNo(NumConstant.ONE);
+ dto.setPageSize(NumConstant.FIFTY);
+ dto.setTableSchema(CaWghDataConstant.TABLESCHEMA_UNICOM);
+ dto.setTableName(CaWghDataConstant.UNICOM_ROTATORS);
+
+ dto.setWhereCase("delete_flag = 'normal'");
+ dto.setOrderBy("grid_id,update_date desc");
+
+ int pageNo = 1;
+
+ int total = 0;
+
+ do {
+ try {
+ total = listRotators(dto);
+ pageNo++;
+ dto.setPageNo(pageNo);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ } while (total > (pageNo * NumConstant.FIFTY));
+ }
+
+ @Override
+ public CaRotatorsDetailsResultDTO getRotatorsDetails(CaRotatorsDetailsFormDTO dto) {
+ CaRotatorsDetailsResultDTO result = baseDao.getRotatorsDetails(dto.getIdCard());
+ return result;
+ }
+
+ enum rotatorsEnum {
+
+ LDRK("unicom", "ca_rotators"),
+ AES("key", "hriajrutnbghajsd");
+
+ private String name;
+ private String code;
+
+
+ rotatorsEnum(String name, String code) {
+ this.name = name;
+ this.code = code;
+ }
+
+ }
+
+ private int listRotators(PreserVationFormDTO dto) throws Exception {
+ String aes = AesUtils.encryptByAES(JSONObject.toJSONString(dto), CaWghDataConstant.AESKEY);
+ JSONObject obj = new JSONObject();
+ obj.put(CaWghDataConstant.UNICOM_CONDITION, aes);
+ String data = HttpClientManager.getInstance().sendPostByJSON(CaWghDataConstant.DATA_URL_UNICON, obj.toJSONString()).getData();
+ JSONObject toResult = JSON.parseObject(data);
+ Result result = ConvertUtils.mapToEntity(toResult, Result.class);
+ if (!result.success()) {
+ return dto.getPageNo() + 1;
+ }
+
+ ReturnDate returnDate = JSONObject.parseObject(JSONObject.toJSONString(result.getData()), ReturnDate.class);
+
+// returnDate.getList().forEach(item -> {
+// if (StringUtils.isNotBlank(item.getIdCard())) {
+// Result client = openFeignClient.getByResiIdCard(item.getIdCard());
+// IcResiUserDTO clientData = client.getData();
+// item.setIcResiUser(clientData.getId());
+// item.setHomeId(clientData.getHomeId());
+// }
+// });
+
+ this.insertBatch(returnDate.getList());
+ return returnDate.getTotal();
+ }
+
+ static class ReturnDate {
+
+ private int total;
+ private List list;
+
+
+ public int getTotal() {
+ return total;
+ }
+
+ public void setTotal(int total) {
+ this.total = total;
+ }
+
+ public List getList() {
+ return list;
+ }
+
+ public void setList(List list) {
+ this.list = list;
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/GuardarDatosTaskServiceImpl.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/GuardarDatosTaskServiceImpl.java
new file mode 100644
index 0000000000..b8e1f0b669
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/GuardarDatosTaskServiceImpl.java
@@ -0,0 +1,56 @@
+package com.epmet.opendata.service.impl;
+
+import com.epmet.opendata.dto.constant.CaWghDataConstant;
+import com.epmet.opendata.dto.form.PreserVationFormDTO;
+import com.epmet.opendata.service.*;
+import org.apache.commons.lang3.StringUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+@Service
+public class GuardarDatosTaskServiceImpl implements GuardarDatosTaskService {
+
+ @Autowired
+ private CaLoudongService caLoudongService;
+
+ @Autowired
+ private CaPingfangService pingfangService;
+
+ @Autowired
+ private CaRentalService rentalService;
+
+ @Autowired
+ private CaResidentService residentService;
+
+ @Autowired
+ private CaRotatorsService rotatorsService;
+
+ @Override
+ public void guardarDatosTask(PreserVationFormDTO dto) {
+ if (StringUtils.isBlank(dto.getTableName())) {
+ caLoudongService.preserLouDongVation(dto);
+ pingfangService.preserPingFangVation(dto);
+ rentalService.preserRentalVation(dto);
+ residentService.preserResidentVation(dto);
+ rotatorsService.preserRotatorsVation(dto);
+ }
+
+ switch (dto.getTableName()) {
+ case CaWghDataConstant.UNICOM_LOUDONG:
+ caLoudongService.preserLouDongVation(dto);
+ break;
+ case CaWghDataConstant.UNICOM_PINGFANG:
+ pingfangService.preserPingFangVation(dto);
+ break;
+ case CaWghDataConstant.UNICOM_RESIDENT:
+ residentService.preserResidentVation(dto);
+ break;
+ case CaWghDataConstant.UNICOM_RENTAL:
+ rentalService.preserRentalVation(dto);
+ break;
+ case CaWghDataConstant.UNICOM_ROTATORS:
+ rotatorsService.preserRotatorsVation(dto);
+ break;
+ }
+ }
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/util/AesUtils.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/util/AesUtils.java
new file mode 100644
index 0000000000..131bbfec83
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/util/AesUtils.java
@@ -0,0 +1,78 @@
+package com.epmet.opendata.util;
+
+import javax.crypto.Cipher;
+import javax.crypto.spec.SecretKeySpec;
+
+/***
+ * Aes加解密工具类
+ * @author www
+ * @date 2022/6/6/0006 11:07
+ */
+public class AesUtils {
+
+
+ public static String encryptByAES(String input, String key) throws Exception {
+ // 算法
+ String algorithm = "AES";
+ String transformation = "AES";
+ // Cipher:密码,获取加密对象
+ // transformation:参数表示使用什么类型加密
+ Cipher cipher = Cipher.getInstance(transformation);
+ // 指定秘钥规则
+ // 第一个参数表示:密钥,key的字节数组 长度必须是16位
+ // 第二个参数表示:算法
+ SecretKeySpec sks = new SecretKeySpec(key.getBytes(), algorithm);
+ // 对加密进行初始化
+ // 第一个参数:表示模式,有加密模式和解密模式
+ // 第二个参数:表示秘钥规则
+ cipher.init(Cipher.ENCRYPT_MODE, sks);
+ // 进行加密
+ byte[] bytes = cipher.doFinal(input.getBytes());
+ return bytesToHexString(bytes);
+ }
+
+ public static String decryptByAES(String input, String key) throws Exception {
+ // 算法
+ String algorithm = "AES";
+ String transformation = "AES";
+ // Cipher:密码,获取加密对象
+ // transformation:参数表示使用什么类型加密
+ Cipher cipher = Cipher.getInstance(transformation);
+ // 指定秘钥规则
+ // 第一个参数表示:密钥,key的字节数组 长度必须是16位
+ // 第二个参数表示:算法
+ SecretKeySpec sks = new SecretKeySpec(key.getBytes(), algorithm);
+ // 对加密进行初始化
+ // 第一个参数:表示模式,有加密模式和解密模式
+ // 第二个参数:表示秘钥规则
+ cipher.init(Cipher.DECRYPT_MODE, sks);
+ // 进行解密
+ byte[] inputBytes = hexStringToBytes(input);
+ byte[] bytes = cipher.doFinal(inputBytes);
+ return new String(bytes);
+ }
+
+ private static byte[] hexStringToBytes(String hexString) {
+ if (hexString.length() % 2 != 0) throw new IllegalArgumentException("hexString length not valid");
+ int length = hexString.length() / 2;
+ byte[] resultBytes = new byte[length];
+ for (int index = 0; index < length; index++) {
+ String result = hexString.substring(index * 2, index * 2 + 2);
+ resultBytes[index] = Integer.valueOf(Integer.parseInt(result, 16)).byteValue();
+ }
+ return resultBytes;
+ }
+
+ private static String bytesToHexString(byte[] sources) {
+ if (sources == null) return null;
+ StringBuilder stringBuffer = new StringBuilder();
+ for (byte source : sources) {
+ String result = Integer.toHexString(source & 0xff);
+ if (result.length() < 2) {
+ result = "0" + result;
+ }
+ stringBuffer.append(result);
+ }
+ return stringBuffer.toString();
+ }
+}
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/db/migration/V0.0.2__create_resident_rotators_tables.sql b/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/db/migration/V0.0.2__create_resident_rotators_tables.sql
new file mode 100644
index 0000000000..e56a702e99
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/db/migration/V0.0.2__create_resident_rotators_tables.sql
@@ -0,0 +1,135 @@
+CREATE TABLE `ca_resident` (
+ `resident_id` bigint(20) DEFAULT NULL COMMENT '人口ID',
+ `grid_id` bigint(20) DEFAULT NULL COMMENT '网格ID',
+ `resident_property` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '人口性质',
+ `resident_type` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '居民分类',
+ `id_type` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '证件类型',
+ `id_card` varchar(18) COLLATE utf8_bin DEFAULT NULL COMMENT '证件号码(公民身份证号)',
+ `resident_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '姓名',
+ `sex` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '性别',
+ `birthday` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '出生日期',
+ `nation` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '民族',
+ `telephone` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '联系方式',
+ `household_prov` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '户籍省',
+ `household_city` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '户籍市',
+ `household_county` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '户籍县(区)',
+ `household_town` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '户籍镇街',
+ `household_village` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '户籍社区/村',
+ `household_address_detail` varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '户籍详址',
+ `curlive_prov` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '现住省',
+ `curlive_city` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '现住市',
+ `curlive_county` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '现住县(区)',
+ `curlive_town` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '现住镇街',
+ `curlive_village` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '现住社区/村',
+ `curlive_address_detail` varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '现住详址',
+ `native_address_prov` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '籍贯省',
+ `native_address_city` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '籍贯市',
+ `native_address_county` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '籍贯县(区)',
+ `former_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '曾用名',
+ `education` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '学历',
+ `occupation` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '职业',
+ `occupation_type` varchar(50) COLLATE utf8_bin DEFAULT '' COMMENT '职业类别',
+ `service_address` varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '服务处所',
+ `marriage_status` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '婚姻状况',
+ `party` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '政治面貌',
+ `religious` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '宗教信仰',
+ `conversion_state` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '有无皈依(已受洗)',
+ `nationality` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '国籍',
+ `plat_code` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '数据来源',
+ `create_by` bigint(20) DEFAULT NULL COMMENT '创建人',
+ `create_date` datetime DEFAULT NULL COMMENT '创建时间',
+ `update_by` bigint(20) DEFAULT NULL COMMENT '最后修改人',
+ `update_date` datetime DEFAULT NULL COMMENT '最后修改时间',
+ `delete_flag` varchar(50) COLLATE utf8_bin DEFAULT 'normal' COMMENT '删除状态',
+ `versions` int(11) DEFAULT '1' COMMENT '乐观锁',
+ `attribute1` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段1',
+ `attribute2` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段2',
+ `attribute3` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段3',
+ `attribute4` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段4',
+ `attribute5` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段5',
+ `attribute6` bigint(20) DEFAULT NULL COMMENT '扩展字段6',
+ `attribute7` bigint(20) DEFAULT NULL COMMENT '扩展字段7',
+ `attribute8` bigint(20) DEFAULT NULL COMMENT '扩展字段8',
+ `attribute9` datetime DEFAULT NULL COMMENT '扩展字段9',
+ `attribute10` datetime DEFAULT NULL COMMENT '扩展字段10',
+ `home_id` varchar(64) COLLATE utf8_bin DEFAULT NULL COMMENT 'homeId',
+ `ic_resi_user` varchar(64) COLLATE utf8_bin DEFAULT NULL COMMENT '对应的ic_resi_user主表Id',
+ KEY `IDX_ID_CARD` (`id_card`) USING BTREE,
+ KEY `IDX_RESIDENT_ID` (`resident_id`) USING BTREE,
+ KEY `IDX_GRID_ID` (`grid_id`) USING BTREE,
+ KEY `IDX_DELETE_FLAG` (`delete_flag`) USING BTREE,
+ KEY `IDX_RESIDENT_NAME` (`resident_name`) USING BTREE,
+ KEY `IDX_BIRTHDAY` (`grid_id`,`birthday`) USING BTREE,
+ KEY `inx_gridDelete` (`grid_id`,`delete_flag`) USING BTREE,
+ KEY `IDX_UPDATE_DATE` (`update_date`,`create_date`) USING BTREE,
+ KEY `idx_resident_property` (`resident_property`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='人口基本信息表';
+
+CREATE TABLE `ca_rotators` (
+ `rotators_id` bigint(20) DEFAULT NULL COMMENT '主键id',
+ `id_card` varchar(18) COLLATE utf8_bin DEFAULT NULL COMMENT '公民身份证号',
+ `id_type` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '证件类型',
+ `rotators_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '姓名',
+ `former_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '曾用名',
+ `sex` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '性别',
+ `birthday` datetime DEFAULT NULL COMMENT '出生日期',
+ `nation` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '民族',
+ `native_address_prov` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '籍贯省',
+ `native_address_city` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '籍贯市',
+ `native_address_country` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '籍贯县(区)',
+ `marriage_status` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '婚姻状况',
+ `party` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '政治面貌',
+ `education` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '学历',
+ `religious` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '宗教信仰',
+ `occupation_type` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '职业类别',
+ `occupation` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '职业',
+ `service_address` varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '服务处所',
+ `telephone` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '联系方式',
+ `household_address_prov` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '户籍地省',
+ `household_address_city` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '户籍地市',
+ `household_address_country` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '户籍地县(区)',
+ `household_address_town` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '户籍地镇街',
+ `household_address_village` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '户籍地社区/村',
+ `household_address_detail` varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '户籍门(楼)详址',
+ `curlive_address_prov` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '现住地省',
+ `curlive_address_city` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '现住地市',
+ `curlive_address_country` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '现住地县(区)',
+ `curlive_address_town` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '现住地镇街',
+ `curlive_address_village` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '现住地社区/村',
+ `curlive_address_detail` varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '现住门(楼)详址',
+ `inflow_reason` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '流入原因',
+ `certificate_type` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '办证类型',
+ `certificate_number` varchar(30) COLLATE utf8_bin DEFAULT NULL COMMENT '证件号码',
+ `sign_date` datetime DEFAULT NULL COMMENT '登记日期',
+ `end_date` datetime DEFAULT NULL COMMENT '证件到期日期',
+ `residence_type` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '住所类型',
+ `is_focus_person` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '是否重点关注人员',
+ `create_by` bigint(20) DEFAULT NULL COMMENT '创建人',
+ `create_date` datetime DEFAULT NULL COMMENT '创建时间',
+ `update_by` bigint(20) DEFAULT NULL COMMENT '最后修改人',
+ `update_date` datetime DEFAULT NULL COMMENT '最后修改时间',
+ `delete_flag` varchar(10) COLLATE utf8_bin DEFAULT 'normal' COMMENT '删除标识(正常的数据存:normal,逻辑删除的标识为:delete)',
+ `platcode` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '数据来源编码',
+ `grid_id` bigint(20) DEFAULT NULL COMMENT '网格id',
+ `versions` int(11) DEFAULT '1' COMMENT '乐观锁',
+ `attribute1` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '是否注销',
+ `attribute2` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '注销原因',
+ `attribute3` varchar(240) COLLATE utf8_bin DEFAULT NULL,
+ `attribute4` varchar(240) COLLATE utf8_bin DEFAULT NULL,
+ `attribute5` varchar(240) COLLATE utf8_bin DEFAULT '',
+ `attribute6` bigint(20) DEFAULT NULL,
+ `attribute7` bigint(20) DEFAULT NULL,
+ `attribute8` bigint(20) DEFAULT NULL,
+ `attribute9` datetime DEFAULT NULL,
+ `attribute10` datetime DEFAULT NULL,
+ `home_id` varchar(64) COLLATE utf8_bin DEFAULT NULL COMMENT 'homeId',
+ `ic_resi_user` varchar(64) COLLATE utf8_bin DEFAULT NULL COMMENT '对应的ic_resi_user主表Id',
+ KEY `idx_rotators_id` (`rotators_id`) USING BTREE,
+ KEY `idx_id_card` (`id_card`) USING BTREE,
+ KEY `idx_rotators_name` (`rotators_name`) USING BTREE,
+ KEY `idx_telephone` (`telephone`) USING BTREE,
+ KEY `IDX_UPDATE_DATE` (`update_date`) USING BTREE,
+ KEY `idx_rotators_create_date` (`create_date`) USING BTREE,
+ KEY `idx_data` (`update_date`,`create_date`) USING BTREE,
+ KEY `idx_platcode` (`platcode`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='流动人口表';
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/db/migration/V0.0.3__create_table.sql b/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/db/migration/V0.0.3__create_table.sql
new file mode 100644
index 0000000000..7093472799
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/db/migration/V0.0.3__create_table.sql
@@ -0,0 +1,141 @@
+CREATE TABLE `ca_loudong` (
+ `building_id` bigint(20) DEFAULT NULL COMMENT '楼栋ID',
+ `building_type` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '楼宇类型',
+ `grid_id` bigint(50) DEFAULT NULL COMMENT '网格ID',
+ `building_name` varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '楼宇名称',
+ `building_use` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '用途分类',
+ `building_status` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '楼宇状态',
+ `building_structure` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '楼宇结构',
+ `building_useage` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '使用现状',
+ `construction_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '建筑时间',
+ `building_addr` varchar(256) COLLATE utf8_bin DEFAULT NULL COMMENT '所处位置',
+ `community_name` varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '小区(单位)名称',
+ `building_leader` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '楼栋长',
+ `layer_count` int(11) DEFAULT NULL COMMENT '楼层数',
+ `basement_layer_count` int(11) DEFAULT NULL COMMENT '地下楼层数',
+ `house_begin_layer` int(11) DEFAULT NULL COMMENT '住宅开始层数',
+ `unit_count` int(11) DEFAULT NULL COMMENT '单元数',
+ `layer_room_count` int(11) DEFAULT NULL COMMENT '每层每单元户数',
+ `room_count` int(11) DEFAULT NULL COMMENT '总房屋数',
+ `elevator_count` varchar(11) COLLATE utf8_bin DEFAULT NULL COMMENT '电梯数量',
+ `building_area` varchar(20) COLLATE utf8_bin DEFAULT NULL COMMENT '建筑面积',
+ `building_pmc` varchar(100) COLLATE utf8_bin DEFAULT NULL COMMENT '物业公司',
+ `building_desc` varchar(1000) COLLATE utf8_bin DEFAULT NULL COMMENT '介绍',
+ `point_status` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '标绘状态',
+ `longitude` decimal(10,7) DEFAULT NULL COMMENT '经度',
+ `latitude` decimal(10,7) DEFAULT NULL COMMENT '纬度',
+ `plat_code` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '数据来源',
+ `create_by` bigint(20) DEFAULT NULL COMMENT '创建人',
+ `create_date` datetime DEFAULT NULL COMMENT '创建时间',
+ `update_by` bigint(20) DEFAULT NULL COMMENT '最后修改人',
+ `update_date` datetime DEFAULT NULL COMMENT '最后修改时间',
+ `delete_flag` varchar(10) COLLATE utf8_bin DEFAULT 'normal' COMMENT '删除状态',
+ `versions` int(11) DEFAULT '1' COMMENT '乐观锁',
+ `attribute1` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段1',
+ `attribute2` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段2',
+ `attribute3` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段3',
+ `attribute4` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段4',
+ `attribute5` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段5',
+ `attribute6` bigint(20) DEFAULT NULL COMMENT '小区主键',
+ `attribute7` bigint(20) DEFAULT NULL COMMENT '扩展字段7',
+ `attribute8` bigint(20) DEFAULT NULL COMMENT '扩展字段8',
+ `attribute9` datetime DEFAULT NULL COMMENT '扩展字段9',
+ `attribute10` datetime DEFAULT NULL COMMENT '扩展字段10',
+ `community_id` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '小区主键',
+ KEY `IDX_BUILDING_ID` (`building_id`) USING BTREE,
+ KEY `idx_building_grid_type` (`building_id`,`building_use`,`delete_flag`) USING BTREE,
+ KEY `sel_buildingname` (`building_name`) USING BTREE,
+ KEY `idx_buiding_type` (`building_type`) USING BTREE,
+ KEY `idx_building_id_flag` (`grid_id`,`delete_flag`,`building_use`) USING BTREE,
+ KEY `u_createdate` (`update_date`,`create_date`) USING BTREE,
+ KEY `idx_grid_id` (`grid_id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='楼栋基本信息表';
+
+CREATE TABLE `ca_pingfang` (
+ `building_id` bigint(20) DEFAULT NULL COMMENT '楼栋ID',
+ `building_type` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '楼宇类型',
+ `grid_id` bigint(50) DEFAULT NULL COMMENT '网格ID',
+ `building_name` varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '楼宇名称',
+ `building_use` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '用途分类',
+ `building_status` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '楼宇状态',
+ `building_structure` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '楼宇结构',
+ `building_useage` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '使用现状',
+ `construction_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '建筑时间',
+ `building_addr` varchar(256) COLLATE utf8_bin DEFAULT NULL COMMENT '所处位置',
+ `community_name` varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '小区(单位)名称',
+ `building_leader` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '楼栋长',
+ `layer_count` int(11) DEFAULT NULL COMMENT '楼层数',
+ `basement_layer_count` int(11) DEFAULT NULL COMMENT '地下楼层数',
+ `house_begin_layer` int(11) DEFAULT NULL COMMENT '住宅开始层数',
+ `unit_count` int(11) DEFAULT NULL COMMENT '单元数',
+ `layer_room_count` int(11) DEFAULT NULL COMMENT '每层每单元户数',
+ `room_count` int(11) DEFAULT NULL COMMENT '总房屋数',
+ `elevator_count` varchar(11) COLLATE utf8_bin DEFAULT NULL COMMENT '电梯数量',
+ `building_area` varchar(20) COLLATE utf8_bin DEFAULT NULL COMMENT '建筑面积',
+ `building_pmc` varchar(100) COLLATE utf8_bin DEFAULT NULL COMMENT '物业公司',
+ `building_desc` varchar(1000) COLLATE utf8_bin DEFAULT NULL COMMENT '介绍',
+ `point_status` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '标绘状态',
+ `longitude` decimal(10,7) DEFAULT NULL COMMENT '经度',
+ `latitude` decimal(10,7) DEFAULT NULL COMMENT '纬度',
+ `plat_code` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '数据来源',
+ `create_by` bigint(20) DEFAULT NULL COMMENT '创建人',
+ `create_date` datetime DEFAULT NULL COMMENT '创建时间',
+ `update_by` bigint(20) DEFAULT NULL COMMENT '最后修改人',
+ `update_date` datetime DEFAULT NULL COMMENT '最后修改时间',
+ `delete_flag` varchar(10) COLLATE utf8_bin DEFAULT 'normal' COMMENT '删除状态',
+ `versions` int(11) DEFAULT '1' COMMENT '乐观锁',
+ `attribute1` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段1',
+ `attribute2` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段2',
+ `attribute3` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段3',
+ `attribute4` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段4',
+ `attribute5` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段5',
+ `attribute6` bigint(20) DEFAULT NULL COMMENT '小区主键',
+ `attribute7` bigint(20) DEFAULT NULL COMMENT '扩展字段7',
+ `attribute8` bigint(20) DEFAULT NULL COMMENT '扩展字段8',
+ `attribute9` datetime DEFAULT NULL COMMENT '扩展字段9',
+ `attribute10` datetime DEFAULT NULL COMMENT '扩展字段10',
+ `community_id` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '小区主键'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+CREATE TABLE `ca_rental` (
+ `rental_id` bigint(20) DEFAULT NULL COMMENT '出租房ID',
+ `grid_id` bigint(20) DEFAULT NULL COMMENT '网格ID',
+ `house_id` bigint(20) DEFAULT NULL COMMENT '房屋ID',
+ `house_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '房屋编号',
+ `house_address` varchar(100) COLLATE utf8_bin DEFAULT NULL COMMENT '房屋地址',
+ `house_use` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '建筑用途',
+ `house_area` decimal(20,2) DEFAULT NULL COMMENT '建筑面积(平方米)',
+ `id_type` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '证件代码',
+ `id_card` varchar(30) COLLATE utf8_bin DEFAULT NULL COMMENT '证件号码',
+ `resident_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '房主姓名',
+ `telephone` varchar(20) COLLATE utf8_bin DEFAULT NULL COMMENT '房主联系方式',
+ `curlive_address` varchar(160) COLLATE utf8_bin DEFAULT NULL COMMENT '房主现居详址',
+ `rent_use` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '出租用途',
+ `trouble_type` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '隐患类型',
+ `renter_id` bigint(20) DEFAULT NULL COMMENT '承租人ID',
+ `renter_card_number` varchar(18) COLLATE utf8_bin DEFAULT NULL COMMENT '承租人公民身份证号码',
+ `renter_card_type` bigint(20) DEFAULT NULL COMMENT '承租人证件类型',
+ `renter_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT '承租人姓名',
+ `renter_phone` varchar(20) COLLATE utf8_bin DEFAULT NULL COMMENT '承租人联系方式',
+ `longitude` decimal(10,7) DEFAULT NULL COMMENT '经度',
+ `latitude` decimal(10,7) DEFAULT NULL COMMENT '纬度',
+ `point_status` varchar(10) COLLATE utf8_bin DEFAULT '0' COMMENT '标绘状态',
+ `plat_code` varchar(10) COLLATE utf8_bin DEFAULT NULL COMMENT '数据来源',
+ `create_by` bigint(20) DEFAULT NULL COMMENT '创建人',
+ `create_date` datetime DEFAULT NULL COMMENT '创建时间',
+ `update_by` bigint(20) DEFAULT NULL COMMENT '最后修改人',
+ `update_date` datetime DEFAULT NULL COMMENT '最后修改时间',
+ `delete_flag` varchar(10) COLLATE utf8_bin DEFAULT 'normal' COMMENT '删除状态',
+ `versions` int(11) unsigned zerofill DEFAULT '00000000001' COMMENT '乐观锁',
+ `attribute1` varchar(240) COLLATE utf8_bin DEFAULT '' COMMENT '承租单位',
+ `attribute2` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '承租日期',
+ `attribute3` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '承租期限',
+ `attribute4` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段4',
+ `attribute5` varchar(240) COLLATE utf8_bin DEFAULT NULL COMMENT '扩展字段5',
+ `attribute6` bigint(20) DEFAULT NULL COMMENT '扩展字段6',
+ `attribute7` bigint(20) DEFAULT NULL COMMENT '扩展字段7',
+ `attribute8` bigint(20) DEFAULT NULL COMMENT '扩展字段8',
+ `attribute9` datetime DEFAULT NULL COMMENT '扩展字段9',
+ `attribute10` datetime DEFAULT NULL COMMENT '扩展字段10'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='出租房信息表';
+
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaLoudongDao.xml b/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaLoudongDao.xml
new file mode 100644
index 0000000000..613665cd44
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaLoudongDao.xml
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from ca_loudong
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaPingfangDao.xml b/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaPingfangDao.xml
new file mode 100644
index 0000000000..9bf92f78ab
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaPingfangDao.xml
@@ -0,0 +1,109 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from ca_pingfang
+
+
+
+
+
+
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaRentalDao.xml b/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaRentalDao.xml
new file mode 100644
index 0000000000..c7dda007dc
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaRentalDao.xml
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from ca_rental
+
+
+
+
+
+
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaResidentDao.xml b/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaResidentDao.xml
new file mode 100644
index 0000000000..33041e3a96
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaResidentDao.xml
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from ca_resident
+
+
+
+
+
+
\ No newline at end of file
diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaRotatorsDao.xml b/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaRotatorsDao.xml
new file mode 100644
index 0000000000..d54fe39738
--- /dev/null
+++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaRotatorsDao.xml
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ delete from ca_rotators
+
+
+
+
+
+
\ No newline at end of file