forked from rongchao/epmet-cloud-rizhao
77 changed files with 9001 additions and 0 deletions
@ -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()); |
|||
} |
|||
} |
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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"; |
|||
} |
|||
@ -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; |
|||
} |
|||
@ -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; |
|||
|
|||
|
|||
|
|||
} |
|||
@ -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; |
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
} |
|||
@ -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; |
|||
} |
|||
@ -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; |
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
} |
|||
@ -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; |
|||
} |
|||
@ -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; |
|||
} |
|||
@ -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; |
|||
} |
|||
@ -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; |
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
} |
|||
@ -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); |
|||
} |
|||
@ -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); |
|||
} |
|||
|
|||
} |
|||
@ -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<PageData<CaLoudongDTO>> page(@RequestParam Map<String, Object> params) { |
|||
PageData<CaLoudongDTO> page = caLoudongService.page(params); |
|||
return new Result<PageData<CaLoudongDTO>>().ok(page); |
|||
} |
|||
|
|||
@RequestMapping(value = "{id}", method = {RequestMethod.POST, RequestMethod.GET}) |
|||
public Result<CaLoudongDTO> get(@PathVariable("id") String id) { |
|||
CaLoudongDTO data = caLoudongService.get(id); |
|||
return new Result<CaLoudongDTO>().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<String, Object> params, HttpServletResponse response) throws Exception { |
|||
List<CaLoudongDTO> list = caLoudongService.list(params); |
|||
ExcelUtils.exportExcelToTarget(response, null, list, CaLoudongExcel.class); |
|||
} |
|||
|
|||
/** |
|||
* 楼栋基本信息分页 |
|||
* |
|||
* @param dto |
|||
* @param tokenDto |
|||
* @return com.epmet.commons.tools.utils.Result<com.epmet.commons.tools.page.PageData < com.epmet.opendata.dto.result.CaLoudongResultDTO>> |
|||
* @author LZN |
|||
* @date 2022/5/31 18:57 |
|||
*/ |
|||
@PostMapping("getPage") |
|||
public Result<PageData<CaLoudongResultDTO>> getPage(@RequestBody CaLoudongFormDTO dto, @LoginUser TokenDto tokenDto) { |
|||
PageData<CaLoudongResultDTO> data = caLoudongService.getPage(dto); |
|||
return new Result<PageData<CaLoudongResultDTO>>().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(); |
|||
} |
|||
|
|||
} |
|||
@ -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<PageData<CaPingfangDTO>> page(@RequestParam Map<String, Object> params) { |
|||
PageData<CaPingfangDTO> page = caPingfangService.page(params); |
|||
return new Result<PageData<CaPingfangDTO>>().ok(page); |
|||
} |
|||
|
|||
@RequestMapping(value = "{id}", method = {RequestMethod.POST, RequestMethod.GET}) |
|||
public Result<CaPingfangDTO> get(@PathVariable("id") String id) { |
|||
CaPingfangDTO data = caPingfangService.get(id); |
|||
return new Result<CaPingfangDTO>().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<String, Object> params, HttpServletResponse response) throws Exception { |
|||
List<CaPingfangDTO> list = caPingfangService.list(params); |
|||
ExcelUtils.exportExcelToTarget(response, null, list, CaPingfangExcel.class); |
|||
} |
|||
|
|||
/** |
|||
* 平房基础信息分页 |
|||
* |
|||
* @param dto |
|||
* @param tokenDto |
|||
* @return com.epmet.commons.tools.utils.Result<com.epmet.commons.tools.page.PageData> |
|||
* @author LZN |
|||
* @date 2022/5/31 18:58 |
|||
*/ |
|||
@PostMapping("getPage") |
|||
public Result<PageData> getPage(@RequestBody CaPingfangFormDTO dto, @LoginUser TokenDto tokenDto) { |
|||
PageData data = caPingfangService.getPage(dto); |
|||
return new Result<PageData>().ok(data); |
|||
} |
|||
|
|||
/** |
|||
* 平房详情 |
|||
* |
|||
* @param dto |
|||
* @param tokenDto |
|||
* @return com.epmet.commons.tools.utils.Result<com.epmet.opendata.dto.result.CaPingFangDetailsResultDTO> |
|||
* @author LZN |
|||
* @date 2022/6/2 14:04 |
|||
*/ |
|||
@PostMapping("getPingFangDetails") |
|||
public Result<CaPingFangDetailsResultDTO> getPingFangDetails(@RequestBody CaPingFangDetailsFormDTO dto, @LoginUser TokenDto tokenDto) { |
|||
CaPingFangDetailsResultDTO result = caPingfangService.getPingFangDetails(dto); |
|||
return new Result<CaPingFangDetailsResultDTO>().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(); |
|||
} |
|||
|
|||
|
|||
} |
|||
@ -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<PageData<CaRentalDTO>> page(@RequestParam Map<String, Object> params) { |
|||
PageData<CaRentalDTO> page = caRentalService.page(params); |
|||
return new Result<PageData<CaRentalDTO>>().ok(page); |
|||
} |
|||
|
|||
@RequestMapping(value = "{id}", method = {RequestMethod.POST, RequestMethod.GET}) |
|||
public Result<CaRentalDTO> get(@PathVariable("id") String id) { |
|||
CaRentalDTO data = caRentalService.get(id); |
|||
return new Result<CaRentalDTO>().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<String, Object> params, HttpServletResponse response) throws Exception { |
|||
List<CaRentalDTO> list = caRentalService.list(params); |
|||
ExcelUtils.exportExcelToTarget(response, null, list, CaRentalExcel.class); |
|||
} |
|||
|
|||
/** |
|||
* 出租房信息分页 |
|||
* |
|||
* @param dto |
|||
* @param tokenDto |
|||
* @return com.epmet.commons.tools.utils.Result<com.epmet.commons.tools.page.PageData < com.epmet.opendata.dto.result.CaRentalResultDTO>> |
|||
* @author LZN |
|||
* @date 2022/5/31 18:38 |
|||
*/ |
|||
@PostMapping("getPage") |
|||
public Result<PageData<CaRentalResultDTO>> getPage(@RequestBody CaRentalFormtDTO dto, @LoginUser TokenDto tokenDto) { |
|||
PageData<CaRentalResultDTO> data = caRentalService.getPage(dto); |
|||
return new Result<PageData<CaRentalResultDTO>>().ok(data); |
|||
} |
|||
|
|||
/** |
|||
* 出租房详情 |
|||
* |
|||
* @param dto |
|||
* @param tokenDto |
|||
* @return com.epmet.commons.tools.utils.Result<com.epmet.opendata.dto.result.CaRentalDetailsResultDTO> |
|||
* @author LZN |
|||
* @date 2022/6/2 14:53 |
|||
*/ |
|||
@PostMapping("getRentalDetails") |
|||
public Result<CaRentalDetailsResultDTO> getRentalDetails(@RequestBody CaRentalDetailsFormDTO dto, @LoginUser TokenDto tokenDto) { |
|||
CaRentalDetailsResultDTO result = caRentalService.getRentalDetails(dto); |
|||
return new Result<CaRentalDetailsResultDTO>().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(); |
|||
} |
|||
|
|||
} |
|||
@ -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<PageData<CaResidentDTO>> page(@RequestParam Map<String, Object> params) { |
|||
PageData<CaResidentDTO> page = caResidentService.page(params); |
|||
return new Result<PageData<CaResidentDTO>>().ok(page); |
|||
} |
|||
|
|||
@RequestMapping(value = "{id}", method = {RequestMethod.POST, RequestMethod.GET}) |
|||
public Result<CaResidentDTO> get(@PathVariable("id") String id) { |
|||
CaResidentDTO data = caResidentService.get(id); |
|||
return new Result<CaResidentDTO>().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<String, Object> params, HttpServletResponse response) throws Exception { |
|||
List<CaResidentDTO> list = caResidentService.list(params); |
|||
ExcelUtils.exportExcelToTarget(response, null, list, CaResidentExcel.class); |
|||
} |
|||
|
|||
/** |
|||
* 人口基本信息分页 |
|||
* |
|||
* @param dto |
|||
* @param tokenDto |
|||
* @return com.epmet.commons.tools.utils.Result<com.epmet.commons.tools.page.PageData < com.epmet.opendata.dto.result.CaResidentResultDTO>> |
|||
* @author LZN |
|||
* @date 2022/5/31 18:59 |
|||
*/ |
|||
@PostMapping("getPage") |
|||
public Result<PageData<CaResidentResultDTO>> getPage(@RequestBody CaResidentFormDTO dto, @LoginUser TokenDto tokenDto) { |
|||
PageData<CaResidentResultDTO> data = caResidentService.getPage(dto); |
|||
return new Result<PageData<CaResidentResultDTO>>().ok(data); |
|||
} |
|||
|
|||
/** |
|||
* 人口基本信息详情 |
|||
* |
|||
* @param dto |
|||
* @param tokenDto |
|||
* @return com.epmet.commons.tools.utils.Result<com.epmet.opendata.dto.result.CaResidentDetailsResultDTO> |
|||
* @author LZN |
|||
* @date 2022/6/2 15:17 |
|||
*/ |
|||
@PostMapping("getResidentDetails") |
|||
public Result<CaResidentDetailsResultDTO> getResidentDetails(@RequestBody CaResidentDetailsFormDTO dto, @LoginUser TokenDto tokenDto) { |
|||
CaResidentDetailsResultDTO result = caResidentService.getResidentDetails(dto); |
|||
return new Result<CaResidentDetailsResultDTO>().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(); |
|||
} |
|||
} |
|||
@ -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<PageData<CaRotatorsDTO>> page(@RequestParam Map<String, Object> params) { |
|||
PageData<CaRotatorsDTO> page = caRotatorsService.page(params); |
|||
return new Result<PageData<CaRotatorsDTO>>().ok(page); |
|||
} |
|||
|
|||
@RequestMapping(value = "{id}", method = {RequestMethod.POST, RequestMethod.GET}) |
|||
public Result<CaRotatorsDTO> get(@PathVariable("id") String id) { |
|||
CaRotatorsDTO data = caRotatorsService.get(id); |
|||
return new Result<CaRotatorsDTO>().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<String, Object> params, HttpServletResponse response) throws Exception { |
|||
List<CaRotatorsDTO> list = caRotatorsService.list(params); |
|||
ExcelUtils.exportExcelToTarget(response, null, list, CaRotatorsExcel.class); |
|||
} |
|||
|
|||
/** |
|||
* 流动人口分页 |
|||
* |
|||
* @param dto |
|||
* @param tokenDto |
|||
* @return com.epmet.commons.tools.utils.Result<com.epmet.commons.tools.page.PageData < com.epmet.opendata.dto.result.CaRotatorsResultDTO>> |
|||
* @author LZN |
|||
* @date 2022/5/31 19:00 |
|||
*/ |
|||
@PostMapping("getPage") |
|||
public Result<PageData<CaRotatorsResultDTO>> getPage(@RequestBody CaRotatorsFormDTO dto, @LoginUser TokenDto tokenDto) { |
|||
PageData<CaRotatorsResultDTO> data = caRotatorsService.getPage(dto); |
|||
return new Result<PageData<CaRotatorsResultDTO>>().ok(data); |
|||
} |
|||
|
|||
/** |
|||
* 流动人口详情 |
|||
* |
|||
* @param dto |
|||
* @param tokenDto |
|||
* @return com.epmet.commons.tools.utils.Result<com.epmet.opendata.dto.result.CaRotatorsDetailsResultDTO> |
|||
* @author LZN |
|||
* @date 2022/6/2 15:33 |
|||
*/ |
|||
@PostMapping("getRotatorsDetails") |
|||
public Result<CaRotatorsDetailsResultDTO> getRotatorsDetails(@RequestBody CaRotatorsDetailsFormDTO dto, @LoginUser TokenDto tokenDto) { |
|||
CaRotatorsDetailsResultDTO result = caRotatorsService.getRotatorsDetails(dto); |
|||
return new Result<CaRotatorsDetailsResultDTO>().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(); |
|||
} |
|||
|
|||
|
|||
} |
|||
@ -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(); |
|||
} |
|||
|
|||
} |
|||
@ -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<CaLoudongEntity> { |
|||
|
|||
List<CaLoudongDTO> getList(); |
|||
|
|||
/** |
|||
* 楼栋基本信息分页 |
|||
* |
|||
* @param communityName |
|||
* @return java.util.List<com.epmet.opendata.dto.result.CaLoudongResultDTO> |
|||
* @author LZN |
|||
* @date 2022/5/31 18:57 |
|||
*/ |
|||
List<CaLoudongResultDTO> getPage(@Param("communityName") String communityName, |
|||
@Param("buildingName") String buildingName); |
|||
|
|||
/** |
|||
* 楼栋基本信息详情 |
|||
* |
|||
* @param buildingId |
|||
* @return |
|||
*/ |
|||
CaLoudongDetailsResultDTO getLouDongDetails(@Param("buildingId") BigInteger buildingId); |
|||
|
|||
void deleteAll(); |
|||
} |
|||
@ -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<CaPingfangEntity> { |
|||
|
|||
/** |
|||
* 平房基础信息分页 |
|||
* |
|||
* @param buildingName |
|||
* @return |
|||
*/ |
|||
List<CaPingfangResultDTO> getPage(@Param("buildingName") String buildingName, |
|||
@Param("communityName") String communityName); |
|||
|
|||
void deleteAll(); |
|||
|
|||
/** |
|||
* 平房详情 |
|||
* |
|||
* @param buildingId |
|||
* @return |
|||
*/ |
|||
CaPingFangDetailsResultDTO getPingFangDetails(@Param("buildingId") String buildingId); |
|||
} |
|||
@ -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<CaRentalEntity> { |
|||
|
|||
/** |
|||
* 出租房信息分页 |
|||
* |
|||
* @param residentName |
|||
* @return |
|||
*/ |
|||
List<CaRentalResultDTO> getPage(@Param("residentName") String residentName, |
|||
@Param("houseName") String houseName, |
|||
@Param("renterName") String renterName); |
|||
|
|||
void deleteAll(); |
|||
|
|||
/** |
|||
* 出租房详情 |
|||
* |
|||
* @param rentalId |
|||
* @return |
|||
*/ |
|||
CaRentalDetailsResultDTO getRentalDetails(@Param("rentalId") String rentalId); |
|||
} |
|||
@ -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<CaResidentEntity> { |
|||
|
|||
/** |
|||
* 人口基本信息分页 |
|||
* |
|||
* @param residentName |
|||
* @return |
|||
*/ |
|||
List<CaResidentResultDTO> getPage(@Param("residentName") String residentName, |
|||
@Param("idCard") String idCard, |
|||
@Param("telephone") String telephone); |
|||
|
|||
void deleteAll(); |
|||
|
|||
/** |
|||
* 人口基本信息详情 |
|||
* |
|||
* @param idCard |
|||
* @return |
|||
*/ |
|||
CaResidentDetailsResultDTO getResidentDetails(@Param("idCard") String idCard); |
|||
} |
|||
@ -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<CaRotatorsEntity> { |
|||
|
|||
/** |
|||
* 流动人口表 |
|||
* |
|||
* @param rotatorsName |
|||
* @return |
|||
*/ |
|||
List<CaRotatorsResultDTO> getPage(@Param("rotatorsName") String rotatorsName, |
|||
@Param("idCard") String idCard, |
|||
@Param("telephone") String telephone); |
|||
|
|||
void deleteAll(); |
|||
|
|||
/** |
|||
* 流动人口详情 |
|||
* |
|||
* @param idCard |
|||
* @return |
|||
*/ |
|||
CaRotatorsDetailsResultDTO getRotatorsDetails(@Param("idCard") String idCard); |
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
|
|||
} |
|||
@ -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; |
|||
|
|||
|
|||
} |
|||
@ -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; |
|||
|
|||
|
|||
} |
|||
@ -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; |
|||
|
|||
|
|||
} |
|||
@ -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; |
|||
|
|||
|
|||
} |
|||
@ -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; |
|||
|
|||
|
|||
} |
|||
@ -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; |
|||
} |
|||
|
|||
} |
|||
@ -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; |
|||
} |
|||
|
|||
} |
|||
@ -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; |
|||
} |
|||
|
|||
} |
|||
@ -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; |
|||
} |
|||
|
|||
} |
|||
@ -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; |
|||
} |
|||
|
|||
} |
|||
@ -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<CaLoudongEntity> { |
|||
|
|||
/** |
|||
* 默认分页 |
|||
* |
|||
* @param params |
|||
* @return PageData<CaLoudongDTO> |
|||
* @author generator |
|||
* @date 2022-05-31 |
|||
*/ |
|||
PageData<CaLoudongDTO> page(Map<String, Object> params); |
|||
|
|||
/** |
|||
* 默认查询 |
|||
* |
|||
* @param params |
|||
* @return java.util.List<CaLoudongDTO> |
|||
* @author generator |
|||
* @date 2022-05-31 |
|||
*/ |
|||
List<CaLoudongDTO> list(Map<String, Object> 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<com.epmet.opendata.dto.result.CaLoudongResultDTO> |
|||
* @author LZN |
|||
* @date 2022/5/31 18:57 |
|||
*/ |
|||
PageData<CaLoudongResultDTO> getPage(CaLoudongFormDTO dto); |
|||
|
|||
/** |
|||
* 楼栋基本信息详情 |
|||
* |
|||
* @param dto |
|||
* @return |
|||
*/ |
|||
CaLoudongDetailsResultDTO getLouDongDetails(CaLoudongDetailsFormDTO dto); |
|||
|
|||
/** |
|||
* 楼栋调用ruoyi接口存储数据 |
|||
* |
|||
* @param dto |
|||
*/ |
|||
void preserLouDongVation(PreserVationFormDTO dto); |
|||
} |
|||
@ -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<CaPingfangEntity> { |
|||
|
|||
/** |
|||
* 默认分页 |
|||
* |
|||
* @param params |
|||
* @return PageData<CaPingfangDTO> |
|||
* @author generator |
|||
* @date 2022-05-31 |
|||
*/ |
|||
PageData<CaPingfangDTO> page(Map<String, Object> params); |
|||
|
|||
/** |
|||
* 默认查询 |
|||
* |
|||
* @param params |
|||
* @return java.util.List<CaPingfangDTO> |
|||
* @author generator |
|||
* @date 2022-05-31 |
|||
*/ |
|||
List<CaPingfangDTO> list(Map<String, Object> 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); |
|||
} |
|||
@ -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<CaRentalEntity> { |
|||
|
|||
/** |
|||
* 默认分页 |
|||
* |
|||
* @param params |
|||
* @return PageData<CaRentalDTO> |
|||
* @author generator |
|||
* @date 2022-05-31 |
|||
*/ |
|||
PageData<CaRentalDTO> page(Map<String, Object> params); |
|||
|
|||
/** |
|||
* 默认查询 |
|||
* |
|||
* @param params |
|||
* @return java.util.List<CaRentalDTO> |
|||
* @author generator |
|||
* @date 2022-05-31 |
|||
*/ |
|||
List<CaRentalDTO> list(Map<String, Object> 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<CaRentalResultDTO> getPage(CaRentalFormtDTO dto); |
|||
|
|||
/** |
|||
* 出租房调用ruoyi接口存储数据 |
|||
* |
|||
* @param dto |
|||
*/ |
|||
void preserRentalVation(PreserVationFormDTO dto); |
|||
|
|||
/** |
|||
* 出租房详情 |
|||
* |
|||
* @param dto |
|||
* @return |
|||
*/ |
|||
CaRentalDetailsResultDTO getRentalDetails(CaRentalDetailsFormDTO dto); |
|||
} |
|||
@ -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<CaResidentEntity> { |
|||
|
|||
/** |
|||
* 默认分页 |
|||
* |
|||
* @param params |
|||
* @return PageData<CaResidentDTO> |
|||
* @author generator |
|||
* @date 2022-05-31 |
|||
*/ |
|||
PageData<CaResidentDTO> page(Map<String, Object> params); |
|||
|
|||
/** |
|||
* 默认查询 |
|||
* |
|||
* @param params |
|||
* @return java.util.List<CaResidentDTO> |
|||
* @author generator |
|||
* @date 2022-05-31 |
|||
*/ |
|||
List<CaResidentDTO> list(Map<String, Object> 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<CaResidentResultDTO> getPage(CaResidentFormDTO dto); |
|||
|
|||
/** |
|||
* 人口基本信息调用ruoyi接口存储数据 |
|||
* |
|||
* @param dto |
|||
*/ |
|||
void preserResidentVation(PreserVationFormDTO dto); |
|||
|
|||
/** |
|||
* 人口基本信息详情 |
|||
* |
|||
* @param dto |
|||
* @return |
|||
*/ |
|||
CaResidentDetailsResultDTO getResidentDetails(CaResidentDetailsFormDTO dto); |
|||
} |
|||
@ -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<CaRotatorsEntity> { |
|||
|
|||
/** |
|||
* 默认分页 |
|||
* |
|||
* @param params |
|||
* @return PageData<CaRotatorsDTO> |
|||
* @author generator |
|||
* @date 2022-05-31 |
|||
*/ |
|||
PageData<CaRotatorsDTO> page(Map<String, Object> params); |
|||
|
|||
/** |
|||
* 默认查询 |
|||
* |
|||
* @param params |
|||
* @return java.util.List<CaRotatorsDTO> |
|||
* @author generator |
|||
* @date 2022-05-31 |
|||
*/ |
|||
List<CaRotatorsDTO> list(Map<String, Object> 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<CaRotatorsResultDTO> getPage(CaRotatorsFormDTO dto); |
|||
|
|||
/** |
|||
* 流动人口调用ruoyi接口存储数据 |
|||
* |
|||
* @param dto |
|||
*/ |
|||
void preserRotatorsVation(PreserVationFormDTO dto); |
|||
|
|||
/** |
|||
* 流动人口详情 |
|||
* |
|||
* @param dto |
|||
* @return |
|||
*/ |
|||
CaRotatorsDetailsResultDTO getRotatorsDetails(CaRotatorsDetailsFormDTO dto); |
|||
} |
|||
@ -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); |
|||
} |
|||
@ -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<CaLoudongDao, CaLoudongEntity> implements CaLoudongService { |
|||
|
|||
@Autowired |
|||
private CaLoudongRedis caLoudongRedis; |
|||
|
|||
// @Override
|
|||
// public PageData<CaLoudongDTO> page(Map<String, Object> params) {
|
|||
// IPage<CaLoudongEntity> page = baseDao.selectPage(
|
|||
// getPage(params, FieldConstant.CREATED_TIME, false),
|
|||
// getWrapper(params)
|
|||
// );
|
|||
// return getPageData(page, CaLoudongDTO.class);
|
|||
// }
|
|||
|
|||
@Override |
|||
public PageData<CaLoudongDTO> page(Map<String, Object> params) { |
|||
PageHelper.startPage((int) (params.get("limit")), (int) (params.get("pageSize"))); |
|||
List<CaLoudongDTO> list = baseDao.getList(); |
|||
PageInfo<CaLoudongDTO> info = new PageInfo<>(list); |
|||
return new PageData<>(list, info.getTotal()); |
|||
} |
|||
|
|||
@Override |
|||
public List<CaLoudongDTO> list(Map<String, Object> params) { |
|||
List<CaLoudongEntity> entityList = baseDao.selectList(getWrapper(params)); |
|||
|
|||
return ConvertUtils.sourceToTarget(entityList, CaLoudongDTO.class); |
|||
} |
|||
|
|||
private QueryWrapper<CaLoudongEntity> getWrapper(Map<String, Object> params) { |
|||
String id = (String) params.get(FieldConstant.ID_HUMP); |
|||
|
|||
QueryWrapper<CaLoudongEntity> 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<CaLoudongResultDTO> getPage(CaLoudongFormDTO dto) { |
|||
PageHelper.startPage(dto.getPage(), dto.getLimit()); |
|||
List<CaLoudongResultDTO> result = baseDao.getPage(dto.getCommunityName(), dto.getBuildingName()); |
|||
PageInfo<CaLoudongResultDTO> 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<CaLoudongEntity> list; |
|||
|
|||
|
|||
public int getTotal() { |
|||
return total; |
|||
} |
|||
|
|||
public void setTotal(int total) { |
|||
this.total = total; |
|||
} |
|||
|
|||
public List<CaLoudongEntity> getList() { |
|||
return list; |
|||
} |
|||
|
|||
public void setList(List<CaLoudongEntity> list) { |
|||
this.list = list; |
|||
} |
|||
} |
|||
|
|||
} |
|||
@ -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<CaPingfangDao, CaPingfangEntity> implements CaPingfangService { |
|||
|
|||
@Autowired |
|||
private CaPingfangRedis caPingfangRedis; |
|||
|
|||
@Override |
|||
public PageData<CaPingfangDTO> page(Map<String, Object> params) { |
|||
IPage<CaPingfangEntity> page = baseDao.selectPage( |
|||
getPage(params, FieldConstant.CREATED_TIME, false), |
|||
getWrapper(params) |
|||
); |
|||
return getPageData(page, CaPingfangDTO.class); |
|||
} |
|||
|
|||
@Override |
|||
public List<CaPingfangDTO> list(Map<String, Object> params) { |
|||
List<CaPingfangEntity> entityList = baseDao.selectList(getWrapper(params)); |
|||
|
|||
return ConvertUtils.sourceToTarget(entityList, CaPingfangDTO.class); |
|||
} |
|||
|
|||
private QueryWrapper<CaPingfangEntity> getWrapper(Map<String, Object> params) { |
|||
String id = (String) params.get(FieldConstant.ID_HUMP); |
|||
|
|||
QueryWrapper<CaPingfangEntity> 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<CaPingfangResultDTO> result = baseDao.getPage(dto.getBuildingName(), dto.getCommunityName()); |
|||
PageInfo<CaPingfangResultDTO> 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<CaPingfangEntity> list; |
|||
|
|||
|
|||
public int getTotal() { |
|||
return total; |
|||
} |
|||
|
|||
public void setTotal(int total) { |
|||
this.total = total; |
|||
} |
|||
|
|||
public List<CaPingfangEntity> getList() { |
|||
return list; |
|||
} |
|||
|
|||
public void setList(List<CaPingfangEntity> list) { |
|||
this.list = list; |
|||
} |
|||
} |
|||
|
|||
} |
|||
@ -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<CaRentalDao, CaRentalEntity> implements CaRentalService { |
|||
|
|||
@Autowired |
|||
private CaRentalRedis caRentalRedis; |
|||
|
|||
@Override |
|||
public PageData<CaRentalDTO> page(Map<String, Object> params) { |
|||
IPage<CaRentalEntity> page = baseDao.selectPage( |
|||
getPage(params, FieldConstant.CREATED_TIME, false), |
|||
getWrapper(params) |
|||
); |
|||
return getPageData(page, CaRentalDTO.class); |
|||
} |
|||
|
|||
@Override |
|||
public List<CaRentalDTO> list(Map<String, Object> params) { |
|||
List<CaRentalEntity> entityList = baseDao.selectList(getWrapper(params)); |
|||
|
|||
return ConvertUtils.sourceToTarget(entityList, CaRentalDTO.class); |
|||
} |
|||
|
|||
private QueryWrapper<CaRentalEntity> getWrapper(Map<String, Object> params) { |
|||
String id = (String) params.get(FieldConstant.ID_HUMP); |
|||
|
|||
QueryWrapper<CaRentalEntity> 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<CaRentalResultDTO> getPage(CaRentalFormtDTO dto) { |
|||
PageHelper.startPage(dto.getPage(), dto.getLimit()); |
|||
List<CaRentalResultDTO> result = baseDao.getPage(dto.getResidentName(), |
|||
dto.getHouseName(), |
|||
dto.getRenterName()); |
|||
PageInfo<CaRentalResultDTO> 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<CaRentalEntity> list; |
|||
|
|||
|
|||
public int getTotal() { |
|||
return total; |
|||
} |
|||
|
|||
public void setTotal(int total) { |
|||
this.total = total; |
|||
} |
|||
|
|||
public List<CaRentalEntity> getList() { |
|||
return list; |
|||
} |
|||
|
|||
public void setList(List<CaRentalEntity> list) { |
|||
this.list = list; |
|||
} |
|||
} |
|||
|
|||
|
|||
} |
|||
@ -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<CaResidentDao, CaResidentEntity> implements CaResidentService { |
|||
|
|||
@Autowired |
|||
private CaResidentRedis caResidentRedis; |
|||
|
|||
@Autowired |
|||
private EpmetUserOpenFeignClient openFeignClient; |
|||
|
|||
@Override |
|||
public PageData<CaResidentDTO> page(Map<String, Object> params) { |
|||
IPage<CaResidentEntity> page = baseDao.selectPage( |
|||
getPage(params, FieldConstant.CREATED_TIME, false), |
|||
getWrapper(params) |
|||
); |
|||
return getPageData(page, CaResidentDTO.class); |
|||
} |
|||
|
|||
@Override |
|||
public List<CaResidentDTO> list(Map<String, Object> params) { |
|||
List<CaResidentEntity> entityList = baseDao.selectList(getWrapper(params)); |
|||
|
|||
return ConvertUtils.sourceToTarget(entityList, CaResidentDTO.class); |
|||
} |
|||
|
|||
private QueryWrapper<CaResidentEntity> getWrapper(Map<String, Object> params) { |
|||
String id = (String) params.get(FieldConstant.ID_HUMP); |
|||
|
|||
QueryWrapper<CaResidentEntity> 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<CaResidentResultDTO> getPage(CaResidentFormDTO dto) { |
|||
PageHelper.startPage(dto.getPage(), dto.getLimit()); |
|||
List<CaResidentResultDTO> result = baseDao.getPage(dto.getResidentName(), |
|||
dto.getIdCard(), |
|||
dto.getTelephone()); |
|||
PageInfo<CaResidentResultDTO> 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<IcResiUserDTO> 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<CaResidentEntity> list; |
|||
|
|||
|
|||
public int getTotal() { |
|||
return total; |
|||
} |
|||
|
|||
public void setTotal(int total) { |
|||
this.total = total; |
|||
} |
|||
|
|||
public List<CaResidentEntity> getList() { |
|||
return list; |
|||
} |
|||
|
|||
public void setList(List<CaResidentEntity> list) { |
|||
this.list = list; |
|||
} |
|||
} |
|||
|
|||
} |
|||
@ -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<CaRotatorsDao, CaRotatorsEntity> implements CaRotatorsService { |
|||
|
|||
@Autowired |
|||
private CaRotatorsRedis caRotatorsRedis; |
|||
|
|||
@Autowired |
|||
private EpmetUserOpenFeignClient openFeignClient; |
|||
|
|||
@Override |
|||
public PageData<CaRotatorsDTO> page(Map<String, Object> params) { |
|||
IPage<CaRotatorsEntity> page = baseDao.selectPage( |
|||
getPage(params, FieldConstant.CREATED_TIME, false), |
|||
getWrapper(params) |
|||
); |
|||
return getPageData(page, CaRotatorsDTO.class); |
|||
} |
|||
|
|||
@Override |
|||
public List<CaRotatorsDTO> list(Map<String, Object> params) { |
|||
List<CaRotatorsEntity> entityList = baseDao.selectList(getWrapper(params)); |
|||
|
|||
return ConvertUtils.sourceToTarget(entityList, CaRotatorsDTO.class); |
|||
} |
|||
|
|||
private QueryWrapper<CaRotatorsEntity> getWrapper(Map<String, Object> params) { |
|||
String id = (String) params.get(FieldConstant.ID_HUMP); |
|||
|
|||
QueryWrapper<CaRotatorsEntity> 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<CaRotatorsResultDTO> getPage(CaRotatorsFormDTO dto) { |
|||
PageHelper.startPage(dto.getPage(), dto.getLimit()); |
|||
List<CaRotatorsResultDTO> result = baseDao.getPage(dto.getRotatorsName(), |
|||
dto.getIdCard(), |
|||
dto.getTelephone()); |
|||
PageInfo<CaRotatorsResultDTO> 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<IcResiUserDTO> 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<CaRotatorsEntity> list; |
|||
|
|||
|
|||
public int getTotal() { |
|||
return total; |
|||
} |
|||
|
|||
public void setTotal(int total) { |
|||
this.total = total; |
|||
} |
|||
|
|||
public List<CaRotatorsEntity> getList() { |
|||
return list; |
|||
} |
|||
|
|||
public void setList(List<CaRotatorsEntity> list) { |
|||
this.list = list; |
|||
} |
|||
} |
|||
|
|||
} |
|||
@ -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; |
|||
} |
|||
} |
|||
} |
|||
@ -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(); |
|||
} |
|||
} |
|||
@ -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='流动人口表'; |
|||
@ -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='出租房信息表'; |
|||
|
|||
@ -0,0 +1,112 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
|
|||
<mapper namespace="com.epmet.opendata.dao.CaLoudongDao"> |
|||
|
|||
<resultMap type="com.epmet.opendata.entity.CaLoudongEntity" id="caLoudongMap"> |
|||
<result property="buildingId" column="building_id"/> |
|||
<result property="buildingType" column="building_type"/> |
|||
<result property="gridId" column="grid_id"/> |
|||
<result property="buildingName" column="building_name"/> |
|||
<result property="buildingUse" column="building_use"/> |
|||
<result property="buildingStatus" column="building_status"/> |
|||
<result property="buildingStructure" column="building_structure"/> |
|||
<result property="buildingUseage" column="building_useage"/> |
|||
<result property="constructionTime" column="construction_time"/> |
|||
<result property="buildingAddr" column="building_addr"/> |
|||
<result property="communityName" column="community_name"/> |
|||
<result property="buildingLeader" column="building_leader"/> |
|||
<result property="layerCount" column="layer_count"/> |
|||
<result property="basementLayerCount" column="basement_layer_count"/> |
|||
<result property="houseBeginLayer" column="house_begin_layer"/> |
|||
<result property="unitCount" column="unit_count"/> |
|||
<result property="layerRoomCount" column="layer_room_count"/> |
|||
<result property="roomCount" column="room_count"/> |
|||
<result property="elevatorCount" column="elevator_count"/> |
|||
<result property="buildingArea" column="building_area"/> |
|||
<result property="buildingPmc" column="building_pmc"/> |
|||
<result property="buildingDesc" column="building_desc"/> |
|||
<result property="pointStatus" column="point_status"/> |
|||
<result property="longitude" column="longitude"/> |
|||
<result property="latitude" column="latitude"/> |
|||
<result property="platCode" column="plat_code"/> |
|||
<result property="createBy" column="create_by"/> |
|||
<result property="createDate" column="create_date"/> |
|||
<result property="updateBy" column="update_by"/> |
|||
<result property="updateDate" column="update_date"/> |
|||
<result property="deleteFlag" column="delete_flag"/> |
|||
<result property="versions" column="versions"/> |
|||
<result property="attribute1" column="attribute1"/> |
|||
<result property="attribute2" column="attribute2"/> |
|||
<result property="attribute3" column="attribute3"/> |
|||
<result property="attribute4" column="attribute4"/> |
|||
<result property="attribute5" column="attribute5"/> |
|||
<result property="attribute6" column="attribute6"/> |
|||
<result property="attribute7" column="attribute7"/> |
|||
<result property="attribute8" column="attribute8"/> |
|||
<result property="attribute9" column="attribute9"/> |
|||
<result property="attribute10" column="attribute10"/> |
|||
<result property="communityId" column="community_id"/> |
|||
</resultMap> |
|||
<delete id="deleteAll"> |
|||
delete from ca_loudong |
|||
</delete> |
|||
<select id="getList" resultType="com.epmet.opendata.dto.ca.CaLoudongDTO"> |
|||
select * from ca_loudong where delete_flag = 'normal' |
|||
</select> |
|||
<select id="getPage" resultType="com.epmet.opendata.dto.result.CaLoudongResultDTO"> |
|||
SELECT |
|||
building_id, |
|||
building_type, |
|||
grid_id, |
|||
building_name, |
|||
building_use, |
|||
building_status, |
|||
building_structure, |
|||
building_useage, |
|||
construction_time, |
|||
building_addr, |
|||
community_name, |
|||
building_leader, |
|||
layer_count, |
|||
basement_layer_count, |
|||
house_begin_layer, |
|||
unit_count, |
|||
layer_room_count, |
|||
room_count, |
|||
elevator_count, |
|||
building_area, |
|||
building_pmc, |
|||
building_desc, |
|||
point_status, |
|||
longitude, |
|||
latitude, |
|||
plat_code, |
|||
community_id |
|||
FROM |
|||
ca_loudong |
|||
<where> |
|||
delete_flag = 'normal' |
|||
<if test="communityName != null and communityName != ''"> |
|||
AND community_name like '%${communityName}%' |
|||
</if> |
|||
<if test="buildingName != null and buildingName != ''"> |
|||
AND building_name like '%${buildingName}%' |
|||
</if> |
|||
</where> |
|||
</select> |
|||
<select id="getLouDongDetails" resultType="com.epmet.opendata.dto.result.CaLoudongDetailsResultDTO"> |
|||
SELECT |
|||
* |
|||
FROM |
|||
ca_loudong |
|||
<where> |
|||
delete_flag = 'normal' |
|||
<if test="buildingId != null and buildingId != ''"> |
|||
AND building_id = #{buildingId} |
|||
</if> |
|||
</where> |
|||
</select> |
|||
|
|||
|
|||
</mapper> |
|||
@ -0,0 +1,109 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
|
|||
<mapper namespace="com.epmet.opendata.dao.CaPingfangDao"> |
|||
|
|||
<resultMap type="com.epmet.opendata.entity.CaPingfangEntity" id="caPingfangMap"> |
|||
<result property="buildingId" column="building_id"/> |
|||
<result property="buildingType" column="building_type"/> |
|||
<result property="gridId" column="grid_id"/> |
|||
<result property="buildingName" column="building_name"/> |
|||
<result property="buildingUse" column="building_use"/> |
|||
<result property="buildingStatus" column="building_status"/> |
|||
<result property="buildingStructure" column="building_structure"/> |
|||
<result property="buildingUseage" column="building_useage"/> |
|||
<result property="constructionTime" column="construction_time"/> |
|||
<result property="buildingAddr" column="building_addr"/> |
|||
<result property="communityName" column="community_name"/> |
|||
<result property="buildingLeader" column="building_leader"/> |
|||
<result property="layerCount" column="layer_count"/> |
|||
<result property="basementLayerCount" column="basement_layer_count"/> |
|||
<result property="houseBeginLayer" column="house_begin_layer"/> |
|||
<result property="unitCount" column="unit_count"/> |
|||
<result property="layerRoomCount" column="layer_room_count"/> |
|||
<result property="roomCount" column="room_count"/> |
|||
<result property="elevatorCount" column="elevator_count"/> |
|||
<result property="buildingArea" column="building_area"/> |
|||
<result property="buildingPmc" column="building_pmc"/> |
|||
<result property="buildingDesc" column="building_desc"/> |
|||
<result property="pointStatus" column="point_status"/> |
|||
<result property="longitude" column="longitude"/> |
|||
<result property="latitude" column="latitude"/> |
|||
<result property="platCode" column="plat_code"/> |
|||
<result property="createBy" column="create_by"/> |
|||
<result property="createDate" column="create_date"/> |
|||
<result property="updateBy" column="update_by"/> |
|||
<result property="updateDate" column="update_date"/> |
|||
<result property="deleteFlag" column="delete_flag"/> |
|||
<result property="versions" column="versions"/> |
|||
<result property="attribute1" column="attribute1"/> |
|||
<result property="attribute2" column="attribute2"/> |
|||
<result property="attribute3" column="attribute3"/> |
|||
<result property="attribute4" column="attribute4"/> |
|||
<result property="attribute5" column="attribute5"/> |
|||
<result property="attribute6" column="attribute6"/> |
|||
<result property="attribute7" column="attribute7"/> |
|||
<result property="attribute8" column="attribute8"/> |
|||
<result property="attribute9" column="attribute9"/> |
|||
<result property="attribute10" column="attribute10"/> |
|||
<result property="communityId" column="community_id"/> |
|||
</resultMap> |
|||
<delete id="deleteAll"> |
|||
delete from ca_pingfang |
|||
</delete> |
|||
<select id="getPage" resultType="com.epmet.opendata.dto.result.CaPingfangResultDTO"> |
|||
SELECT |
|||
building_id, |
|||
building_type, |
|||
grid_id, |
|||
building_name, |
|||
building_use, |
|||
building_status, |
|||
building_structure, |
|||
building_useage, |
|||
construction_time, |
|||
building_addr, |
|||
community_name, |
|||
building_leader, |
|||
layer_count, |
|||
basement_layer_count, |
|||
house_begin_layer, |
|||
unit_count, |
|||
layer_room_count, |
|||
room_count, |
|||
elevator_count, |
|||
building_area, |
|||
building_pmc, |
|||
building_desc, |
|||
point_status, |
|||
longitude, |
|||
latitude, |
|||
plat_code, |
|||
community_id |
|||
FROM |
|||
ca_pingfang |
|||
<where> |
|||
delete_flag = 'normal' |
|||
<if test="buildingName != null and buildingName != ''"> |
|||
AND building_name like '%${buildingName}%' |
|||
</if> |
|||
<if test="communityName != null and communityName != ''"> |
|||
AND community_name like '%${communityName}%' |
|||
</if> |
|||
</where> |
|||
</select> |
|||
<select id="getPingFangDetails" resultType="com.epmet.opendata.dto.result.CaPingFangDetailsResultDTO"> |
|||
select |
|||
* |
|||
from |
|||
ca_pingfang |
|||
<where> |
|||
delete_flag = 'normal' |
|||
<if test="buildingId != null and buildingId != ''"> |
|||
AND building_id = #{buildingId} |
|||
</if> |
|||
</where> |
|||
</select> |
|||
|
|||
|
|||
</mapper> |
|||
@ -0,0 +1,104 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
|
|||
<mapper namespace="com.epmet.opendata.dao.CaRentalDao"> |
|||
|
|||
<resultMap type="com.epmet.opendata.entity.CaRentalEntity" id="caRentalMap"> |
|||
<result property="rentalId" column="rental_id"/> |
|||
<result property="gridId" column="grid_id"/> |
|||
<result property="houseId" column="house_id"/> |
|||
<result property="houseName" column="house_name"/> |
|||
<result property="houseAddress" column="house_address"/> |
|||
<result property="houseUse" column="house_use"/> |
|||
<result property="houseArea" column="house_area"/> |
|||
<result property="idType" column="id_type"/> |
|||
<result property="idCard" column="id_card"/> |
|||
<result property="residentName" column="resident_name"/> |
|||
<result property="telephone" column="telephone"/> |
|||
<result property="curliveAddress" column="curlive_address"/> |
|||
<result property="rentUse" column="rent_use"/> |
|||
<result property="troubleType" column="trouble_type"/> |
|||
<result property="renterId" column="renter_id"/> |
|||
<result property="renterCardNumber" column="renter_card_number"/> |
|||
<result property="renterCardType" column="renter_card_type"/> |
|||
<result property="renterName" column="renter_name"/> |
|||
<result property="renterPhone" column="renter_phone"/> |
|||
<result property="longitude" column="longitude"/> |
|||
<result property="latitude" column="latitude"/> |
|||
<result property="pointStatus" column="point_status"/> |
|||
<result property="platCode" column="plat_code"/> |
|||
<result property="createBy" column="create_by"/> |
|||
<result property="createDate" column="create_date"/> |
|||
<result property="updateBy" column="update_by"/> |
|||
<result property="updateDate" column="update_date"/> |
|||
<result property="deleteFlag" column="delete_flag"/> |
|||
<result property="versions" column="versions"/> |
|||
<result property="attribute1" column="attribute1"/> |
|||
<result property="attribute2" column="attribute2"/> |
|||
<result property="attribute3" column="attribute3"/> |
|||
<result property="attribute4" column="attribute4"/> |
|||
<result property="attribute5" column="attribute5"/> |
|||
<result property="attribute6" column="attribute6"/> |
|||
<result property="attribute7" column="attribute7"/> |
|||
<result property="attribute8" column="attribute8"/> |
|||
<result property="attribute9" column="attribute9"/> |
|||
<result property="attribute10" column="attribute10"/> |
|||
</resultMap> |
|||
<delete id="deleteAll"> |
|||
delete from ca_rental |
|||
</delete> |
|||
<select id="getPage" resultType="com.epmet.opendata.dto.result.CaRentalResultDTO"> |
|||
SELECT |
|||
rental_id, |
|||
grid_id, |
|||
house_id, |
|||
house_name, |
|||
house_address, |
|||
house_use, |
|||
house_area, |
|||
id_type, |
|||
id_card, |
|||
resident_name, |
|||
telephone, |
|||
curlive_address, |
|||
rent_use, |
|||
trouble_type, |
|||
renter_id, |
|||
renter_card_number, |
|||
renter_card_type, |
|||
renter_name, |
|||
renter_phone, |
|||
longitude, |
|||
latitude, |
|||
point_status, |
|||
plat_code |
|||
FROM |
|||
ca_rental |
|||
<where> |
|||
delete_flag = 'normal' |
|||
<if test="residentName != null and residentName != ''"> |
|||
AND resident_name like '%${residentName}%' |
|||
</if> |
|||
<if test="houseName != null and houseName != ''"> |
|||
AND house_name like '%${houseName}%' |
|||
</if> |
|||
<if test="renterName != null and renterName != ''"> |
|||
AND renter_name like '%${renterName}%' |
|||
</if> |
|||
</where> |
|||
</select> |
|||
<select id="getRentalDetails" resultType="com.epmet.opendata.dto.result.CaRentalDetailsResultDTO"> |
|||
SELECT |
|||
* |
|||
FROM |
|||
ca_rental |
|||
<where> |
|||
delete_flag = 'normal' |
|||
<if test="rentalId != null and rentalId != ''"> |
|||
AND rental_id = #{rentalId} |
|||
</if> |
|||
</where> |
|||
</select> |
|||
|
|||
|
|||
</mapper> |
|||
@ -0,0 +1,132 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
|
|||
<mapper namespace="com.epmet.opendata.dao.CaResidentDao"> |
|||
|
|||
<resultMap type="com.epmet.opendata.entity.CaResidentEntity" id="caResidentMap"> |
|||
<result property="residentId" column="resident_id"/> |
|||
<result property="gridId" column="grid_id"/> |
|||
<result property="residentProperty" column="resident_property"/> |
|||
<result property="residentType" column="resident_type"/> |
|||
<result property="idType" column="id_type"/> |
|||
<result property="idCard" column="id_card"/> |
|||
<result property="residentName" column="resident_name"/> |
|||
<result property="sex" column="sex"/> |
|||
<result property="birthday" column="birthday"/> |
|||
<result property="nation" column="nation"/> |
|||
<result property="telephone" column="telephone"/> |
|||
<result property="householdProv" column="household_prov"/> |
|||
<result property="householdCity" column="household_city"/> |
|||
<result property="householdCounty" column="household_county"/> |
|||
<result property="householdTown" column="household_town"/> |
|||
<result property="householdVillage" column="household_village"/> |
|||
<result property="householdAddressDetail" column="household_address_detail"/> |
|||
<result property="curliveProv" column="curlive_prov"/> |
|||
<result property="curliveCity" column="curlive_city"/> |
|||
<result property="curliveCounty" column="curlive_county"/> |
|||
<result property="curliveTown" column="curlive_town"/> |
|||
<result property="curliveVillage" column="curlive_village"/> |
|||
<result property="curliveAddressDetail" column="curlive_address_detail"/> |
|||
<result property="nativeAddressProv" column="native_address_prov"/> |
|||
<result property="nativeAddressCity" column="native_address_city"/> |
|||
<result property="nativeAddressCounty" column="native_address_county"/> |
|||
<result property="formerName" column="former_name"/> |
|||
<result property="education" column="education"/> |
|||
<result property="occupation" column="occupation"/> |
|||
<result property="occupationType" column="occupation_type"/> |
|||
<result property="serviceAddress" column="service_address"/> |
|||
<result property="marriageStatus" column="marriage_status"/> |
|||
<result property="party" column="party"/> |
|||
<result property="religious" column="religious"/> |
|||
<result property="conversionState" column="conversion_state"/> |
|||
<result property="nationality" column="nationality"/> |
|||
<result property="platCode" column="plat_code"/> |
|||
<result property="createBy" column="create_by"/> |
|||
<result property="createDate" column="create_date"/> |
|||
<result property="updateBy" column="update_by"/> |
|||
<result property="updateDate" column="update_date"/> |
|||
<result property="deleteFlag" column="delete_flag"/> |
|||
<result property="versions" column="versions"/> |
|||
<result property="attribute1" column="attribute1"/> |
|||
<result property="attribute2" column="attribute2"/> |
|||
<result property="attribute3" column="attribute3"/> |
|||
<result property="attribute4" column="attribute4"/> |
|||
<result property="attribute5" column="attribute5"/> |
|||
<result property="attribute6" column="attribute6"/> |
|||
<result property="attribute7" column="attribute7"/> |
|||
<result property="attribute8" column="attribute8"/> |
|||
<result property="attribute9" column="attribute9"/> |
|||
<result property="attribute10" column="attribute10"/> |
|||
</resultMap> |
|||
<delete id="deleteAll"> |
|||
delete from ca_resident |
|||
</delete> |
|||
<select id="getPage" resultType="com.epmet.opendata.dto.result.CaResidentResultDTO"> |
|||
SELECT |
|||
resident_id, |
|||
grid_id, |
|||
resident_property, |
|||
resident_type, |
|||
id_type, |
|||
id_card, |
|||
resident_name, |
|||
sex, |
|||
birthday, |
|||
nation, |
|||
telephone, |
|||
household_prov, |
|||
household_city, |
|||
household_county, |
|||
household_town, |
|||
household_village, |
|||
household_address_detail, |
|||
curlive_prov, |
|||
curlive_city, |
|||
curlive_county, |
|||
curlive_town, |
|||
curlive_village, |
|||
curlive_address_detail, |
|||
native_address_prov, |
|||
native_address_city, |
|||
native_address_county, |
|||
former_name, |
|||
education, |
|||
occupation, |
|||
occupation_type, |
|||
service_address, |
|||
marriage_status, |
|||
party, |
|||
religious, |
|||
conversion_state, |
|||
nationality, |
|||
plat_code |
|||
FROM |
|||
ca_resident |
|||
<where> |
|||
delete_flag = 'normal' |
|||
<if test="residentName != null and residentName != ''"> |
|||
AND resident_name like '%${residentName}%' |
|||
</if> |
|||
<if test="idCard != null and idCard != ''"> |
|||
AND id_card like '%${idCard}%' |
|||
</if> |
|||
<if test="telephone != null and telephone != ''"> |
|||
AND telephone like '%${telephone}%' |
|||
</if> |
|||
</where> |
|||
</select> |
|||
<select id="getResidentDetails" resultType="com.epmet.opendata.dto.result.CaResidentDetailsResultDTO"> |
|||
select |
|||
* |
|||
from |
|||
ca_resident |
|||
<where> |
|||
delete_flag = 'normal' |
|||
<if test="idCard != null and idCard != ''"> |
|||
AND id_card = #{idCard} |
|||
</if> |
|||
</where> |
|||
</select> |
|||
|
|||
|
|||
</mapper> |
|||
@ -0,0 +1,136 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
|
|||
<mapper namespace="com.epmet.opendata.dao.CaRotatorsDao"> |
|||
|
|||
<resultMap type="com.epmet.opendata.entity.CaRotatorsEntity" id="caRotatorsMap"> |
|||
<result property="rotatorsId" column="rotators_id"/> |
|||
<result property="idCard" column="id_card"/> |
|||
<result property="idType" column="id_type"/> |
|||
<result property="rotatorsName" column="rotators_name"/> |
|||
<result property="formerName" column="former_name"/> |
|||
<result property="sex" column="sex"/> |
|||
<result property="birthday" column="birthday"/> |
|||
<result property="nation" column="nation"/> |
|||
<result property="nativeAddressProv" column="native_address_prov"/> |
|||
<result property="nativeAddressCity" column="native_address_city"/> |
|||
<result property="nativeAddressCountry" column="native_address_country"/> |
|||
<result property="marriageStatus" column="marriage_status"/> |
|||
<result property="party" column="party"/> |
|||
<result property="education" column="education"/> |
|||
<result property="religious" column="religious"/> |
|||
<result property="occupationType" column="occupation_type"/> |
|||
<result property="occupation" column="occupation"/> |
|||
<result property="serviceAddress" column="service_address"/> |
|||
<result property="telephone" column="telephone"/> |
|||
<result property="householdAddressProv" column="household_address_prov"/> |
|||
<result property="householdAddressCity" column="household_address_city"/> |
|||
<result property="householdAddressCountry" column="household_address_country"/> |
|||
<result property="householdAddressTown" column="household_address_town"/> |
|||
<result property="householdAddressVillage" column="household_address_village"/> |
|||
<result property="householdAddressDetail" column="household_address_detail"/> |
|||
<result property="curliveAddressProv" column="curlive_address_prov"/> |
|||
<result property="curliveAddressCity" column="curlive_address_city"/> |
|||
<result property="curliveAddressCountry" column="curlive_address_country"/> |
|||
<result property="curliveAddressTown" column="curlive_address_town"/> |
|||
<result property="curliveAddressVillage" column="curlive_address_village"/> |
|||
<result property="curliveAddressDetail" column="curlive_address_detail"/> |
|||
<result property="inflowReason" column="inflow_reason"/> |
|||
<result property="certificateType" column="certificate_type"/> |
|||
<result property="certificateNumber" column="certificate_number"/> |
|||
<result property="signDate" column="sign_date"/> |
|||
<result property="endDate" column="end_date"/> |
|||
<result property="residenceType" column="residence_type"/> |
|||
<result property="isFocusPerson" column="is_focus_person"/> |
|||
<result property="createBy" column="create_by"/> |
|||
<result property="createDate" column="create_date"/> |
|||
<result property="updateBy" column="update_by"/> |
|||
<result property="updateDate" column="update_date"/> |
|||
<result property="deleteFlag" column="delete_flag"/> |
|||
<result property="platcode" column="platcode"/> |
|||
<result property="gridId" column="grid_id"/> |
|||
<result property="versions" column="versions"/> |
|||
<result property="attribute1" column="attribute1"/> |
|||
<result property="attribute2" column="attribute2"/> |
|||
<result property="attribute3" column="attribute3"/> |
|||
<result property="attribute4" column="attribute4"/> |
|||
<result property="attribute5" column="attribute5"/> |
|||
<result property="attribute6" column="attribute6"/> |
|||
<result property="attribute7" column="attribute7"/> |
|||
<result property="attribute8" column="attribute8"/> |
|||
<result property="attribute9" column="attribute9"/> |
|||
<result property="attribute10" column="attribute10"/> |
|||
</resultMap> |
|||
<delete id="deleteAll"> |
|||
delete from ca_rotators |
|||
</delete> |
|||
<select id="getPage" resultType="com.epmet.opendata.dto.result.CaRotatorsResultDTO"> |
|||
SELECT |
|||
rotators_id, |
|||
id_card, |
|||
id_type, |
|||
rotators_name, |
|||
former_name, |
|||
sex, |
|||
birthday, |
|||
nation, |
|||
native_address_prov, |
|||
native_address_city, |
|||
native_address_country, |
|||
marriage_status, |
|||
party, |
|||
education, |
|||
religious, |
|||
occupation_type, |
|||
occupation, |
|||
service_address, |
|||
telephone, |
|||
household_address_prov, |
|||
household_address_city, |
|||
household_address_country, |
|||
household_address_town, |
|||
household_address_village, |
|||
household_address_detail, |
|||
curlive_address_prov, |
|||
curlive_address_city, |
|||
curlive_address_country, |
|||
curlive_address_town, |
|||
curlive_address_village, |
|||
curlive_address_detail, |
|||
inflow_reason, |
|||
certificate_type, |
|||
certificate_number, |
|||
sign_date, |
|||
end_date, |
|||
residence_type, |
|||
is_focus_person |
|||
FROM |
|||
ca_rotators |
|||
<where> |
|||
delete_flag = 'normal' |
|||
<if test="rotatorsName != null and rotatorsName != ''"> |
|||
AND rotators_name like '%${rotatorsName}%' |
|||
</if> |
|||
<if test="idCard != null and idCard != ''"> |
|||
AND id_card like '%${idCard}%' |
|||
</if> |
|||
<if test="telephone != null and telephone != ''"> |
|||
AND telephone like '%${telephone}%' |
|||
</if> |
|||
</where> |
|||
</select> |
|||
<select id="getRotatorsDetails" resultType="com.epmet.opendata.dto.result.CaRotatorsDetailsResultDTO"> |
|||
select |
|||
* |
|||
from |
|||
ca_rotators |
|||
<where> |
|||
delete_flag = 'normal' |
|||
<if test="idCard != null and idCard != ''"> |
|||
AND id_card = #{idCard} |
|||
</if> |
|||
</where> |
|||
</select> |
|||
|
|||
|
|||
</mapper> |
|||
Loading…
Reference in new issue