Browse Source

代码生成

master
HAHA 3 years ago
parent
commit
3cbb8349fc
  1. 235
      epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/CaLoudongDTO.java
  2. 235
      epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/CaPingfangDTO.java
  3. 215
      epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/CaRentalDTO.java
  4. 284
      epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/CaResidentDTO.java
  5. 299
      epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/CaRotatorsDTO.java
  6. 82
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaLoudongController.java
  7. 82
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaPingfangController.java
  8. 82
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaRentalController.java
  9. 82
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaResidentController.java
  10. 82
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaRotatorsController.java
  11. 17
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaLoudongDao.java
  12. 16
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaPingfangDao.java
  13. 17
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaRentalDao.java
  14. 17
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaResidentDao.java
  15. 17
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaRotatorsDao.java
  16. 240
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaLoudongEntity.java
  17. 240
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaPingfangEntity.java
  18. 220
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaRentalEntity.java
  19. 289
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaResidentEntity.java
  20. 304
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaRotatorsEntity.java
  21. 148
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaLoudongExcel.java
  22. 148
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaPingfangExcel.java
  23. 136
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaRentalExcel.java
  24. 177
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaResidentExcel.java
  25. 186
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaRotatorsExcel.java
  26. 30
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaLoudongRedis.java
  27. 30
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaPingfangRedis.java
  28. 30
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaRentalRedis.java
  29. 30
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaResidentRedis.java
  30. 30
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaRotatorsRedis.java
  31. 78
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaLoudongService.java
  32. 78
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaPingfangService.java
  33. 78
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaRentalService.java
  34. 78
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaResidentService.java
  35. 77
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaRotatorsService.java
  36. 84
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaLoudongServiceImpl.java
  37. 84
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaPingfangServiceImpl.java
  38. 85
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaRentalServiceImpl.java
  39. 84
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaResidentServiceImpl.java
  40. 84
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaRotatorsServiceImpl.java
  41. 53
      epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaLoudongDao.xml
  42. 53
      epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaPingfangDao.xml
  43. 49
      epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaRentalDao.xml
  44. 63
      epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaResidentDao.xml
  45. 66
      epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaRotatorsDao.xml

235
epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/CaLoudongDTO.java

@ -0,0 +1,235 @@
package com.epmet.opendata.dto;
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;
}

235
epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/CaPingfangDTO.java

@ -0,0 +1,235 @@
package com.epmet.opendata.dto;
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;
}

215
epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/CaRentalDTO.java

@ -0,0 +1,215 @@
package com.epmet.opendata.dto;
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;
}

284
epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/CaResidentDTO.java

@ -0,0 +1,284 @@
package com.epmet.opendata.dto;
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;
}

299
epmet-module/open-data-worker/open-data-worker-client/src/main/java/com/epmet/opendata/dto/CaRotatorsDTO.java

@ -0,0 +1,299 @@
package com.epmet.opendata.dto;
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;
}

82
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaLoudongController.java

@ -0,0 +1,82 @@
package com.epmet.opendata.controller;
import com.epmet.commons.tools.aop.NoRepeatSubmit;
import com.epmet.commons.tools.page.PageData;
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.CaLoudongDTO;
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);
}
}

82
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaPingfangController.java

@ -0,0 +1,82 @@
package com.epmet.opendata.controller;
import com.epmet.commons.tools.aop.NoRepeatSubmit;
import com.epmet.commons.tools.page.PageData;
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.CaPingfangDTO;
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);
}
}

82
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaRentalController.java

@ -0,0 +1,82 @@
package com.epmet.opendata.controller;
import com.epmet.commons.tools.aop.NoRepeatSubmit;
import com.epmet.commons.tools.page.PageData;
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.CaRentalDTO;
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);
}
}

82
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaResidentController.java

@ -0,0 +1,82 @@
package com.epmet.opendata.controller;
import com.epmet.commons.tools.aop.NoRepeatSubmit;
import com.epmet.commons.tools.page.PageData;
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.CaResidentDTO;
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);
}
}

82
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/controller/CaRotatorsController.java

@ -0,0 +1,82 @@
package com.epmet.opendata.controller;
import com.epmet.commons.tools.aop.NoRepeatSubmit;
import com.epmet.commons.tools.page.PageData;
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.CaRotatorsDTO;
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);
}
}

17
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaLoudongDao.java

@ -0,0 +1,17 @@
package com.epmet.opendata.dao;
import com.epmet.commons.mybatis.dao.BaseDao;
import com.epmet.opendata.entity.CaLoudongEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 楼栋基本信息表
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Mapper
public interface CaLoudongDao extends BaseDao<CaLoudongEntity> {
}

16
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaPingfangDao.java

@ -0,0 +1,16 @@
package com.epmet.opendata.dao;
import com.epmet.commons.mybatis.dao.BaseDao;
import com.epmet.opendata.entity.CaPingfangEntity;
import org.apache.ibatis.annotations.Mapper;
/**
*
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Mapper
public interface CaPingfangDao extends BaseDao<CaPingfangEntity> {
}

17
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaRentalDao.java

@ -0,0 +1,17 @@
package com.epmet.opendata.dao;
import com.epmet.commons.mybatis.dao.BaseDao;
import com.epmet.opendata.entity.CaRentalEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 出租房信息表
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Mapper
public interface CaRentalDao extends BaseDao<CaRentalEntity> {
}

17
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaResidentDao.java

@ -0,0 +1,17 @@
package com.epmet.opendata.dao;
import com.epmet.commons.mybatis.dao.BaseDao;
import com.epmet.opendata.entity.CaResidentEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 人口基本信息表
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Mapper
public interface CaResidentDao extends BaseDao<CaResidentEntity> {
}

17
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/CaRotatorsDao.java

@ -0,0 +1,17 @@
package com.epmet.opendata.dao;
import com.epmet.commons.mybatis.dao.BaseDao;
import com.epmet.opendata.entity.CaRotatorsEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 流动人口表
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Mapper
public interface CaRotatorsDao extends BaseDao<CaRotatorsEntity> {
}

240
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaLoudongEntity.java

@ -0,0 +1,240 @@
package com.epmet.opendata.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.epmet.commons.mybatis.entity.BaseEpmetEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.util.Date;
/**
* 楼栋基本信息表
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("ca_loudong")
public class CaLoudongEntity extends BaseEpmetEntity {
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;
}

240
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaPingfangEntity.java

@ -0,0 +1,240 @@
package com.epmet.opendata.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.epmet.commons.mybatis.entity.BaseEpmetEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.util.Date;
/**
*
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("ca_pingfang")
public class CaPingfangEntity extends BaseEpmetEntity {
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;
}

220
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaRentalEntity.java

@ -0,0 +1,220 @@
package com.epmet.opendata.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.epmet.commons.mybatis.entity.BaseEpmetEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.util.Date;
/**
* 出租房信息表
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("ca_rental")
public class CaRentalEntity extends BaseEpmetEntity {
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;
}

289
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaResidentEntity.java

@ -0,0 +1,289 @@
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 extends BaseEpmetEntity {
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;
}

304
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/CaRotatorsEntity.java

@ -0,0 +1,304 @@
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 extends BaseEpmetEntity {
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;
}

148
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaLoudongExcel.java

@ -0,0 +1,148 @@
package com.epmet.opendata.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* 楼栋基本信息表
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Data
public class CaLoudongExcel {
@Excel(name = "楼栋ID")
private Long buildingId;
@Excel(name = "楼宇类型")
private String buildingType;
@Excel(name = "网格ID")
private Long gridId;
@Excel(name = "楼宇名称")
private String buildingName;
@Excel(name = "用途分类")
private String buildingUse;
@Excel(name = "楼宇状态")
private String buildingStatus;
@Excel(name = "楼宇结构")
private String buildingStructure;
@Excel(name = "使用现状")
private String buildingUseage;
@Excel(name = "建筑时间")
private Date constructionTime;
@Excel(name = "所处位置")
private String buildingAddr;
@Excel(name = "小区(单位)名称")
private String communityName;
@Excel(name = "楼栋长")
private String buildingLeader;
@Excel(name = "楼层数")
private Integer layerCount;
@Excel(name = "地下楼层数")
private Integer basementLayerCount;
@Excel(name = "住宅开始层数")
private Integer houseBeginLayer;
@Excel(name = "单元数")
private Integer unitCount;
@Excel(name = "每层每单元户数")
private Integer layerRoomCount;
@Excel(name = "总房屋数")
private Integer roomCount;
@Excel(name = "电梯数量")
private String elevatorCount;
@Excel(name = "建筑面积")
private String buildingArea;
@Excel(name = "物业公司")
private String buildingPmc;
@Excel(name = "介绍")
private String buildingDesc;
@Excel(name = "标绘状态")
private String pointStatus;
@Excel(name = "经度")
private BigDecimal longitude;
@Excel(name = "纬度")
private BigDecimal latitude;
@Excel(name = "数据来源")
private String platCode;
@Excel(name = "创建人")
private Long createBy;
@Excel(name = "创建时间")
private Date createDate;
@Excel(name = "最后修改人")
private Long updateBy;
@Excel(name = "最后修改时间")
private Date updateDate;
@Excel(name = "删除状态")
private String deleteFlag;
@Excel(name = "乐观锁")
private Integer versions;
@Excel(name = "扩展字段1")
private String attribute1;
@Excel(name = "扩展字段2")
private String attribute2;
@Excel(name = "扩展字段3")
private String attribute3;
@Excel(name = "扩展字段4")
private String attribute4;
@Excel(name = "扩展字段5")
private String attribute5;
@Excel(name = "小区主键")
private Long attribute6;
@Excel(name = "扩展字段7")
private Long attribute7;
@Excel(name = "扩展字段8")
private Long attribute8;
@Excel(name = "扩展字段9")
private Date attribute9;
@Excel(name = "扩展字段10")
private Date attribute10;
@Excel(name = "小区主键")
private String communityId;
}

148
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaPingfangExcel.java

@ -0,0 +1,148 @@
package com.epmet.opendata.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
*
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Data
public class CaPingfangExcel {
@Excel(name = "楼栋ID")
private Long buildingId;
@Excel(name = "楼宇类型")
private String buildingType;
@Excel(name = "网格ID")
private Long gridId;
@Excel(name = "楼宇名称")
private String buildingName;
@Excel(name = "用途分类")
private String buildingUse;
@Excel(name = "楼宇状态")
private String buildingStatus;
@Excel(name = "楼宇结构")
private String buildingStructure;
@Excel(name = "使用现状")
private String buildingUseage;
@Excel(name = "建筑时间")
private Date constructionTime;
@Excel(name = "所处位置")
private String buildingAddr;
@Excel(name = "小区(单位)名称")
private String communityName;
@Excel(name = "楼栋长")
private String buildingLeader;
@Excel(name = "楼层数")
private Integer layerCount;
@Excel(name = "地下楼层数")
private Integer basementLayerCount;
@Excel(name = "住宅开始层数")
private Integer houseBeginLayer;
@Excel(name = "单元数")
private Integer unitCount;
@Excel(name = "每层每单元户数")
private Integer layerRoomCount;
@Excel(name = "总房屋数")
private Integer roomCount;
@Excel(name = "电梯数量")
private String elevatorCount;
@Excel(name = "建筑面积")
private String buildingArea;
@Excel(name = "物业公司")
private String buildingPmc;
@Excel(name = "介绍")
private String buildingDesc;
@Excel(name = "标绘状态")
private String pointStatus;
@Excel(name = "经度")
private BigDecimal longitude;
@Excel(name = "纬度")
private BigDecimal latitude;
@Excel(name = "数据来源")
private String platCode;
@Excel(name = "创建人")
private Long createBy;
@Excel(name = "创建时间")
private Date createDate;
@Excel(name = "最后修改人")
private Long updateBy;
@Excel(name = "最后修改时间")
private Date updateDate;
@Excel(name = "删除状态")
private String deleteFlag;
@Excel(name = "乐观锁")
private Integer versions;
@Excel(name = "扩展字段1")
private String attribute1;
@Excel(name = "扩展字段2")
private String attribute2;
@Excel(name = "扩展字段3")
private String attribute3;
@Excel(name = "扩展字段4")
private String attribute4;
@Excel(name = "扩展字段5")
private String attribute5;
@Excel(name = "小区主键")
private Long attribute6;
@Excel(name = "扩展字段7")
private Long attribute7;
@Excel(name = "扩展字段8")
private Long attribute8;
@Excel(name = "扩展字段9")
private Date attribute9;
@Excel(name = "扩展字段10")
private Date attribute10;
@Excel(name = "小区主键")
private String communityId;
}

136
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaRentalExcel.java

@ -0,0 +1,136 @@
package com.epmet.opendata.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* 出租房信息表
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Data
public class CaRentalExcel {
@Excel(name = "出租房ID")
private Long rentalId;
@Excel(name = "网格ID")
private Long gridId;
@Excel(name = "房屋ID")
private Long houseId;
@Excel(name = "房屋编号")
private String houseName;
@Excel(name = "房屋地址")
private String houseAddress;
@Excel(name = "建筑用途")
private String houseUse;
@Excel(name = "建筑面积(平方米)")
private BigDecimal houseArea;
@Excel(name = "证件代码")
private String idType;
@Excel(name = "证件号码")
private String idCard;
@Excel(name = "房主姓名")
private String residentName;
@Excel(name = "房主联系方式")
private String telephone;
@Excel(name = "房主现居详址")
private String curliveAddress;
@Excel(name = "出租用途")
private String rentUse;
@Excel(name = "隐患类型")
private String troubleType;
@Excel(name = "承租人ID")
private Long renterId;
@Excel(name = "承租人公民身份证号码")
private String renterCardNumber;
@Excel(name = "承租人证件类型")
private Long renterCardType;
@Excel(name = "承租人姓名")
private String renterName;
@Excel(name = "承租人联系方式")
private String renterPhone;
@Excel(name = "经度")
private BigDecimal longitude;
@Excel(name = "纬度")
private BigDecimal latitude;
@Excel(name = "标绘状态")
private String pointStatus;
@Excel(name = "数据来源")
private String platCode;
@Excel(name = "创建人")
private Long createBy;
@Excel(name = "创建时间")
private Date createDate;
@Excel(name = "最后修改人")
private Long updateBy;
@Excel(name = "最后修改时间")
private Date updateDate;
@Excel(name = "删除状态")
private String deleteFlag;
@Excel(name = "乐观锁")
private Integer versions;
@Excel(name = "承租单位")
private String attribute1;
@Excel(name = "承租日期")
private String attribute2;
@Excel(name = "承租期限")
private String attribute3;
@Excel(name = "扩展字段4")
private String attribute4;
@Excel(name = "扩展字段5")
private String attribute5;
@Excel(name = "扩展字段6")
private Long attribute6;
@Excel(name = "扩展字段7")
private Long attribute7;
@Excel(name = "扩展字段8")
private Long attribute8;
@Excel(name = "扩展字段9")
private Date attribute9;
@Excel(name = "扩展字段10")
private Date attribute10;
}

177
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaResidentExcel.java

@ -0,0 +1,177 @@
package com.epmet.opendata.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.util.Date;
/**
* 人口基本信息表
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Data
public class CaResidentExcel {
@Excel(name = "人口ID")
private Long residentId;
@Excel(name = "网格ID")
private Long gridId;
@Excel(name = "人口性质")
private String residentProperty;
@Excel(name = "居民分类")
private String residentType;
@Excel(name = "证件类型")
private String idType;
@Excel(name = "证件号码(公民身份证号)")
private String idCard;
@Excel(name = "姓名")
private String residentName;
@Excel(name = "性别")
private String sex;
@Excel(name = "出生日期")
private Date birthday;
@Excel(name = "民族")
private String nation;
@Excel(name = "联系方式")
private String telephone;
@Excel(name = "户籍省")
private String householdProv;
@Excel(name = "户籍市")
private String householdCity;
@Excel(name = "户籍县(区)")
private String householdCounty;
@Excel(name = "户籍镇街")
private String householdTown;
@Excel(name = "户籍社区/村")
private String householdVillage;
@Excel(name = "户籍详址")
private String householdAddressDetail;
@Excel(name = "现住省")
private String curliveProv;
@Excel(name = "现住市")
private String curliveCity;
@Excel(name = "现住县(区)")
private String curliveCounty;
@Excel(name = "现住镇街")
private String curliveTown;
@Excel(name = "现住社区/村")
private String curliveVillage;
@Excel(name = "现住详址")
private String curliveAddressDetail;
@Excel(name = "籍贯省")
private String nativeAddressProv;
@Excel(name = "籍贯市")
private String nativeAddressCity;
@Excel(name = "籍贯县(区)")
private String nativeAddressCounty;
@Excel(name = "曾用名")
private String formerName;
@Excel(name = "学历")
private String education;
@Excel(name = "职业")
private String occupation;
@Excel(name = "职业类别")
private String occupationType;
@Excel(name = "服务处所")
private String serviceAddress;
@Excel(name = "婚姻状况")
private String marriageStatus;
@Excel(name = "政治面貌")
private String party;
@Excel(name = "宗教信仰")
private String religious;
@Excel(name = "有无皈依(已受洗)")
private String conversionState;
@Excel(name = "国籍")
private String nationality;
@Excel(name = "数据来源")
private String platCode;
@Excel(name = "创建人")
private Long createBy;
@Excel(name = "创建时间")
private Date createDate;
@Excel(name = "最后修改人")
private Long updateBy;
@Excel(name = "最后修改时间")
private Date updateDate;
@Excel(name = "删除状态")
private String deleteFlag;
@Excel(name = "乐观锁")
private Integer versions;
@Excel(name = "扩展字段1")
private String attribute1;
@Excel(name = "扩展字段2")
private String attribute2;
@Excel(name = "扩展字段3")
private String attribute3;
@Excel(name = "扩展字段4")
private String attribute4;
@Excel(name = "扩展字段5")
private String attribute5;
@Excel(name = "扩展字段6")
private Long attribute6;
@Excel(name = "扩展字段7")
private Long attribute7;
@Excel(name = "扩展字段8")
private Long attribute8;
@Excel(name = "扩展字段9")
private Date attribute9;
@Excel(name = "扩展字段10")
private Date attribute10;
}

186
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/excel/CaRotatorsExcel.java

@ -0,0 +1,186 @@
package com.epmet.opendata.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.util.Date;
/**
* 流动人口表
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Data
public class CaRotatorsExcel {
@Excel(name = "主键id")
private Long rotatorsId;
@Excel(name = "公民身份证号")
private String idCard;
@Excel(name = "证件类型")
private String idType;
@Excel(name = "姓名")
private String rotatorsName;
@Excel(name = "曾用名")
private String formerName;
@Excel(name = "性别")
private String sex;
@Excel(name = "出生日期")
private Date birthday;
@Excel(name = "民族")
private String nation;
@Excel(name = "籍贯省")
private String nativeAddressProv;
@Excel(name = "籍贯市")
private String nativeAddressCity;
@Excel(name = "籍贯县(区)")
private String nativeAddressCountry;
@Excel(name = "婚姻状况")
private String marriageStatus;
@Excel(name = "政治面貌")
private String party;
@Excel(name = "学历")
private String education;
@Excel(name = "宗教信仰")
private String religious;
@Excel(name = "职业类别")
private String occupationType;
@Excel(name = "职业")
private String occupation;
@Excel(name = "服务处所")
private String serviceAddress;
@Excel(name = "联系方式")
private String telephone;
@Excel(name = "户籍地省")
private String householdAddressProv;
@Excel(name = "户籍地市")
private String householdAddressCity;
@Excel(name = "户籍地县(区)")
private String householdAddressCountry;
@Excel(name = "户籍地镇街")
private String householdAddressTown;
@Excel(name = "户籍地社区/村")
private String householdAddressVillage;
@Excel(name = "户籍门(楼)详址")
private String householdAddressDetail;
@Excel(name = "现住地省")
private String curliveAddressProv;
@Excel(name = "现住地市")
private String curliveAddressCity;
@Excel(name = "现住地县(区)")
private String curliveAddressCountry;
@Excel(name = "现住地镇街")
private String curliveAddressTown;
@Excel(name = "现住地社区/村")
private String curliveAddressVillage;
@Excel(name = "现住门(楼)详址")
private String curliveAddressDetail;
@Excel(name = "流入原因")
private String inflowReason;
@Excel(name = "办证类型")
private String certificateType;
@Excel(name = "证件号码")
private String certificateNumber;
@Excel(name = "登记日期")
private Date signDate;
@Excel(name = "证件到期日期")
private Date endDate;
@Excel(name = "住所类型")
private String residenceType;
@Excel(name = "是否重点关注人员")
private String isFocusPerson;
@Excel(name = "创建人")
private Long createBy;
@Excel(name = "创建时间")
private Date createDate;
@Excel(name = "最后修改人")
private Long updateBy;
@Excel(name = "最后修改时间")
private Date updateDate;
@Excel(name = "删除标识(正常的数据存:normal,逻辑删除的标识为:delete)")
private String deleteFlag;
@Excel(name = "数据来源编码")
private String platcode;
@Excel(name = "网格id")
private Long gridId;
@Excel(name = "乐观锁")
private Integer versions;
@Excel(name = "是否注销")
private String attribute1;
@Excel(name = "注销原因")
private String attribute2;
@Excel(name = "")
private String attribute3;
@Excel(name = "")
private String attribute4;
@Excel(name = "")
private String attribute5;
@Excel(name = "")
private Long attribute6;
@Excel(name = "")
private Long attribute7;
@Excel(name = "")
private Long attribute8;
@Excel(name = "")
private Date attribute9;
@Excel(name = "")
private Date attribute10;
}

30
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaLoudongRedis.java

@ -0,0 +1,30 @@
package com.epmet.opendata.redis;
import com.epmet.commons.tools.redis.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
* 楼栋基本信息表
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Component
public class CaLoudongRedis {
@Autowired
private RedisUtils redisUtils;
public void delete(Object[] ids) {
}
public void set(){
}
public String get(String id){
return null;
}
}

30
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaPingfangRedis.java

@ -0,0 +1,30 @@
package com.epmet.opendata.redis;
import com.epmet.commons.tools.redis.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
*
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Component
public class CaPingfangRedis {
@Autowired
private RedisUtils redisUtils;
public void delete(Object[] ids) {
}
public void set(){
}
public String get(String id){
return null;
}
}

30
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaRentalRedis.java

@ -0,0 +1,30 @@
package com.epmet.opendata.redis;
import com.epmet.commons.tools.redis.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
* 出租房信息表
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Component
public class CaRentalRedis {
@Autowired
private RedisUtils redisUtils;
public void delete(Object[] ids) {
}
public void set(){
}
public String get(String id){
return null;
}
}

30
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaResidentRedis.java

@ -0,0 +1,30 @@
package com.epmet.opendata.redis;
import com.epmet.commons.tools.redis.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
* 人口基本信息表
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Component
public class CaResidentRedis {
@Autowired
private RedisUtils redisUtils;
public void delete(Object[] ids) {
}
public void set(){
}
public String get(String id){
return null;
}
}

30
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/redis/CaRotatorsRedis.java

@ -0,0 +1,30 @@
package com.epmet.opendata.redis;
import com.epmet.commons.tools.redis.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
* 流动人口表
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-05-31
*/
@Component
public class CaRotatorsRedis {
@Autowired
private RedisUtils redisUtils;
public void delete(Object[] ids) {
}
public void set(){
}
public String get(String id){
return null;
}
}

78
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaLoudongService.java

@ -0,0 +1,78 @@
package com.epmet.opendata.service;
import com.epmet.commons.mybatis.service.BaseService;
import com.epmet.commons.tools.page.PageData;
import com.epmet.opendata.dto.CaLoudongDTO;
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);
}

78
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaPingfangService.java

@ -0,0 +1,78 @@
package com.epmet.opendata.service;
import com.epmet.commons.mybatis.service.BaseService;
import com.epmet.commons.tools.page.PageData;
import com.epmet.opendata.dto.CaPingfangDTO;
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);
}

78
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaRentalService.java

@ -0,0 +1,78 @@
package com.epmet.opendata.service;
import com.epmet.commons.mybatis.service.BaseService;
import com.epmet.commons.tools.page.PageData;
import com.epmet.opendata.dto.CaRentalDTO;
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);
}

78
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaResidentService.java

@ -0,0 +1,78 @@
package com.epmet.opendata.service;
import com.epmet.commons.mybatis.service.BaseService;
import com.epmet.commons.tools.page.PageData;
import com.epmet.opendata.dto.CaResidentDTO;
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);
}

77
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/CaRotatorsService.java

@ -0,0 +1,77 @@
package com.epmet.opendata.service;
import com.epmet.commons.mybatis.service.BaseService;
import com.epmet.commons.tools.page.PageData;
import com.epmet.opendata.dto.CaRotatorsDTO;
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);
}

84
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaLoudongServiceImpl.java

@ -0,0 +1,84 @@
package com.epmet.opendata.service.impl;
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.page.PageData;
import com.epmet.commons.tools.utils.ConvertUtils;
import com.epmet.opendata.dto.CaLoudongDTO;
import com.epmet.opendata.redis.CaLoudongRedis;
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 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 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));
}
}

84
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaPingfangServiceImpl.java

@ -0,0 +1,84 @@
package com.epmet.opendata.service.impl;
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.page.PageData;
import com.epmet.commons.tools.utils.ConvertUtils;
import com.epmet.opendata.dto.CaPingfangDTO;
import com.epmet.opendata.redis.CaPingfangRedis;
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));
}
}

85
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaRentalServiceImpl.java

@ -0,0 +1,85 @@
package com.epmet.opendata.service.impl;
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.page.PageData;
import com.epmet.commons.tools.utils.ConvertUtils;
import com.epmet.commons.tools.constant.FieldConstant;
import com.epmet.opendata.dto.CaRentalDTO;
import com.epmet.opendata.redis.CaRentalRedis;
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));
}
}

84
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaResidentServiceImpl.java

@ -0,0 +1,84 @@
package com.epmet.opendata.service.impl;
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.page.PageData;
import com.epmet.commons.tools.utils.ConvertUtils;
import com.epmet.opendata.dto.CaResidentDTO;
import com.epmet.opendata.redis.CaResidentRedis;
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;
@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));
}
}

84
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/CaRotatorsServiceImpl.java

@ -0,0 +1,84 @@
package com.epmet.opendata.service.impl;
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.page.PageData;
import com.epmet.commons.tools.utils.ConvertUtils;
import com.epmet.commons.tools.constant.FieldConstant;
import com.epmet.opendata.dto.CaRotatorsDTO;
import com.epmet.opendata.redis.CaRotatorsRedis;
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;
@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));
}
}

53
epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaLoudongDao.xml

@ -0,0 +1,53 @@
<?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.dao.CaLoudongDao">
<resultMap type="com.epmet.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>
</mapper>

53
epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaPingfangDao.xml

@ -0,0 +1,53 @@
<?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.dao.CaPingfangDao">
<resultMap type="com.epmet.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>
</mapper>

49
epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaRentalDao.xml

@ -0,0 +1,49 @@
<?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.dao.CaRentalDao">
<resultMap type="com.epmet.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>
</mapper>

63
epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaResidentDao.xml

@ -0,0 +1,63 @@
<?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.dao.CaResidentDao">
<resultMap type="com.epmet.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>
</mapper>

66
epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaRotatorsDao.xml

@ -0,0 +1,66 @@
<?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.dao.CaRotatorsDao">
<resultMap type="com.epmet.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>
</mapper>
Loading…
Cancel
Save