147 changed files with 9417 additions and 3 deletions
@ -0,0 +1,64 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class BasegridDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 坐标信息; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 网格名称; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 所属街道办; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 所属社区; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 街道编码; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 网格编码; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 社区编码; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String longitude; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String latitude; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,206 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class BmGridDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 网格ID |
||||
|
*/ |
||||
|
private Long gridId; |
||||
|
|
||||
|
/** |
||||
|
* 网格编码。人工填写,编码规则业务规定,不允许重复。 |
||||
|
*/ |
||||
|
private String gridCode; |
||||
|
|
||||
|
/** |
||||
|
* 网格名称 |
||||
|
*/ |
||||
|
private String gridName; |
||||
|
|
||||
|
/** |
||||
|
* 行政区划的国标编码 |
||||
|
*/ |
||||
|
private String gbCode; |
||||
|
|
||||
|
/** |
||||
|
* 上级网格ID |
||||
|
*/ |
||||
|
private Long parentId; |
||||
|
|
||||
|
/** |
||||
|
* 上级网格编码 |
||||
|
*/ |
||||
|
private String parentCode; |
||||
|
|
||||
|
/** |
||||
|
* 网格分类。1基础网格 2环保网格 3防火网格 4城管网格 5执法网格 6安监网格等 |
||||
|
*/ |
||||
|
private String gridClassification; |
||||
|
|
||||
|
/** |
||||
|
* 网格层级。网格层级表的层级 |
||||
|
根据【网格层级表】的层级关系动态展示。 |
||||
|
查询【网格层级表】层级 条件:上层级=网格树返回的网格层级 |
||||
|
*/ |
||||
|
private String gridLevel; |
||||
|
|
||||
|
/** |
||||
|
* 网格属性。01村庄、02小区、03企业、04学校(幼儿园)、05医院、06驻镇(街)单位、07其他 |
||||
|
*/ |
||||
|
private String gridProperty; |
||||
|
|
||||
|
/** |
||||
|
* 是否最后一级:0否 1是 |
||||
|
*/ |
||||
|
private String isEnd; |
||||
|
|
||||
|
/** |
||||
|
* 网格地址 |
||||
|
*/ |
||||
|
private String gridAddress; |
||||
|
|
||||
|
/** |
||||
|
* 网格介绍 |
||||
|
*/ |
||||
|
private String gridIntroduce; |
||||
|
|
||||
|
/** |
||||
|
* 宣传图片 |
||||
|
*/ |
||||
|
private String gridPicture; |
||||
|
|
||||
|
/** |
||||
|
* 地图区域范围 |
||||
|
*/ |
||||
|
private String reginScopeDesc; |
||||
|
|
||||
|
/** |
||||
|
* 展示顺序 |
||||
|
*/ |
||||
|
private Integer gridSort; |
||||
|
|
||||
|
/** |
||||
|
* 标绘状态 |
||||
|
*/ |
||||
|
private String pointStatus; |
||||
|
|
||||
|
/** |
||||
|
* 事件上报中心 |
||||
|
*/ |
||||
|
private Long gridEmCenter; |
||||
|
|
||||
|
/** |
||||
|
* 初始日期 |
||||
|
*/ |
||||
|
private Date gridBeginTime; |
||||
|
|
||||
|
/** |
||||
|
* 终止日期 |
||||
|
*/ |
||||
|
private Date gridEndTime; |
||||
|
|
||||
|
/** |
||||
|
* 面积 |
||||
|
*/ |
||||
|
private String gridArea; |
||||
|
|
||||
|
/** |
||||
|
* 是否有效 |
||||
|
*/ |
||||
|
private String isValid; |
||||
|
|
||||
|
/** |
||||
|
* 创建人 |
||||
|
*/ |
||||
|
private Long createBy; |
||||
|
|
||||
|
/** |
||||
|
* 创建时间 |
||||
|
*/ |
||||
|
private Date createDate; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Long updateBy; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Date updateDate; |
||||
|
|
||||
|
/** |
||||
|
* 删除状态: 字典值:normal正常,删除deleted |
||||
|
*/ |
||||
|
private String deleteFlag; |
||||
|
|
||||
|
/** |
||||
|
* 乐观锁 |
||||
|
*/ |
||||
|
private Integer versions; |
||||
|
|
||||
|
/** |
||||
|
* 网格内人口规模 |
||||
|
*/ |
||||
|
private String attribute1; |
||||
|
|
||||
|
/** |
||||
|
* 是否成立网格党支部或网格党小组 |
||||
|
*/ |
||||
|
private String attribute2; |
||||
|
|
||||
|
/** |
||||
|
* 网格党组织类型 |
||||
|
*/ |
||||
|
private String attribute3; |
||||
|
|
||||
|
/** |
||||
|
* 党组织编码 |
||||
|
*/ |
||||
|
private String attribute4; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段 |
||||
|
*/ |
||||
|
private String attribute5; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段 |
||||
|
*/ |
||||
|
private Long attribute6; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段 |
||||
|
*/ |
||||
|
private Long attribute7; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段 |
||||
|
*/ |
||||
|
private Long attribute8; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段 |
||||
|
*/ |
||||
|
private Date attribute9; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段 |
||||
|
*/ |
||||
|
private Date attribute10; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,54 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CommunityDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 坐标信息; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 街道名称; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 街道编码; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 社区名称; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 社区编码; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String longitude; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String latitude; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,44 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class SubdistrictOfficeDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 坐标信息; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 街道名称; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 街道代码; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String longitude; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String latitude; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,74 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 单元网格 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghDywgDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* 网格名称 |
||||
|
*/ |
||||
|
private String bgname; |
||||
|
|
||||
|
/** |
||||
|
* 所属街镇 |
||||
|
*/ |
||||
|
private String street; |
||||
|
|
||||
|
/** |
||||
|
* 所属社区 |
||||
|
*/ |
||||
|
private String community; |
||||
|
|
||||
|
/** |
||||
|
* 网格面积 |
||||
|
*/ |
||||
|
private Double bgsqua; |
||||
|
|
||||
|
/** |
||||
|
* 初始时间 |
||||
|
*/ |
||||
|
private Date ordate; |
||||
|
|
||||
|
/** |
||||
|
* 变更时间 |
||||
|
*/ |
||||
|
private Date chdate; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String note; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String contacts; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String telphone; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,54 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 街道办 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghJdbDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String objectid1; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String objectid; |
||||
|
|
||||
|
/** |
||||
|
* 街道名称 |
||||
|
*/ |
||||
|
private String mc; |
||||
|
|
||||
|
/** |
||||
|
* 责任人 |
||||
|
*/ |
||||
|
private String 责任人; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String 联系电话; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double shapeLeng; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,124 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 加气站信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghJqzDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* 序号 |
||||
|
*/ |
||||
|
private String xh; |
||||
|
|
||||
|
/** |
||||
|
* 单位名称 |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double area; |
||||
|
|
||||
|
/** |
||||
|
* 周边安全间距 |
||||
|
*/ |
||||
|
private String space; |
||||
|
|
||||
|
/** |
||||
|
* 存在问题 |
||||
|
*/ |
||||
|
private String problem; |
||||
|
|
||||
|
/** |
||||
|
* 危险源类型 |
||||
|
*/ |
||||
|
private String type; |
||||
|
|
||||
|
/** |
||||
|
* 经营地址 |
||||
|
*/ |
||||
|
private String location; |
||||
|
|
||||
|
/** |
||||
|
* 负责人 |
||||
|
*/ |
||||
|
private String principal; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String phone; |
||||
|
|
||||
|
/** |
||||
|
* 企业类型 |
||||
|
*/ |
||||
|
private String qtype; |
||||
|
|
||||
|
/** |
||||
|
* 危化品种类 |
||||
|
*/ |
||||
|
private String wtype; |
||||
|
|
||||
|
/** |
||||
|
* 等级 |
||||
|
*/ |
||||
|
private String 等级; |
||||
|
|
||||
|
/** |
||||
|
* 性质 |
||||
|
*/ |
||||
|
private String 性质; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String 备注; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String dwmcjc; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String layer; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String ssjdb; |
||||
|
|
||||
|
/** |
||||
|
* 数量 |
||||
|
*/ |
||||
|
private String amount; |
||||
|
|
||||
|
/** |
||||
|
* 应急措施 |
||||
|
*/ |
||||
|
private String yjcs; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,119 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 九小场所信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghJxcsDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String objectid; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String jsonInfo; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String creatTime; |
||||
|
|
||||
|
/** |
||||
|
* 所属街道 |
||||
|
*/ |
||||
|
private String ssjd; |
||||
|
|
||||
|
/** |
||||
|
* 所属社区 |
||||
|
*/ |
||||
|
private String sssq; |
||||
|
|
||||
|
/** |
||||
|
* 道路名 |
||||
|
*/ |
||||
|
private String dlm; |
||||
|
|
||||
|
/** |
||||
|
* 门牌号 |
||||
|
*/ |
||||
|
private String mph; |
||||
|
|
||||
|
/** |
||||
|
* 名称 |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String ztlx; |
||||
|
|
||||
|
/** |
||||
|
* 子类型 |
||||
|
*/ |
||||
|
private String type; |
||||
|
|
||||
|
/** |
||||
|
* 统一社会信用代码 |
||||
|
*/ |
||||
|
private String xydm; |
||||
|
|
||||
|
/** |
||||
|
* 联系人 |
||||
|
*/ |
||||
|
private String lxr; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String lxdh; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String userName; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String bz; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String available; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String id; |
||||
|
|
||||
|
/** |
||||
|
* 编辑人ID |
||||
|
*/ |
||||
|
private String userId; |
||||
|
|
||||
|
/** |
||||
|
* 编辑人姓名 |
||||
|
*/ |
||||
|
private String updateTim; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private String insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,124 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 加油站 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghJyzDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* 序号 |
||||
|
*/ |
||||
|
private String xh; |
||||
|
|
||||
|
/** |
||||
|
* 单位名称 |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double area; |
||||
|
|
||||
|
/** |
||||
|
* 周边安全间距 |
||||
|
*/ |
||||
|
private String space; |
||||
|
|
||||
|
/** |
||||
|
* 存在问题 |
||||
|
*/ |
||||
|
private String problem; |
||||
|
|
||||
|
/** |
||||
|
* 危险源类型 |
||||
|
*/ |
||||
|
private String type; |
||||
|
|
||||
|
/** |
||||
|
* 经营地址 |
||||
|
*/ |
||||
|
private String location; |
||||
|
|
||||
|
/** |
||||
|
* 负责人 |
||||
|
*/ |
||||
|
private String principal; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String phone; |
||||
|
|
||||
|
/** |
||||
|
* 企业类型 |
||||
|
*/ |
||||
|
private String qtype; |
||||
|
|
||||
|
/** |
||||
|
* 危化品种类 |
||||
|
*/ |
||||
|
private String wtype; |
||||
|
|
||||
|
/** |
||||
|
* 等级 |
||||
|
*/ |
||||
|
private String 等级; |
||||
|
|
||||
|
/** |
||||
|
* 性质 |
||||
|
*/ |
||||
|
private String 性质; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String 备注; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String dwmcjc; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String layer; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String ssjdb; |
||||
|
|
||||
|
/** |
||||
|
* 数量 |
||||
|
*/ |
||||
|
private String amount; |
||||
|
|
||||
|
/** |
||||
|
* 应急措施 |
||||
|
*/ |
||||
|
private String yjcs; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,94 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 事件信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghSjxxbDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid1; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double objectid; |
||||
|
|
||||
|
/** |
||||
|
* 事件来源 |
||||
|
*/ |
||||
|
private String infosourcename; |
||||
|
|
||||
|
/** |
||||
|
* 事件类别 |
||||
|
*/ |
||||
|
private String infotypename; |
||||
|
|
||||
|
/** |
||||
|
* 社区名称 |
||||
|
*/ |
||||
|
private String communityname; |
||||
|
|
||||
|
/** |
||||
|
* 事件描述 |
||||
|
*/ |
||||
|
private String description; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String taskid; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String casesn; |
||||
|
|
||||
|
/** |
||||
|
* 事件地址 |
||||
|
*/ |
||||
|
private String address; |
||||
|
|
||||
|
/** |
||||
|
* 事件状态 |
||||
|
*/ |
||||
|
private String statusname; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String infobcname; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String infoscname; |
||||
|
|
||||
|
/** |
||||
|
* 街道名称 |
||||
|
*/ |
||||
|
private String streetname; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Date discovertime; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,139 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghSqxxDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double commuarea; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String belongto; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String contacts; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String telphone; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double 网格数量; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 街道编码; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 社区编码; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String commname; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String jdcjgb; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String wgz; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 交警姓名; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double 交警电话; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 交警单位; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 民警姓名; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 民警电话; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String 派出所; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String wgy; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String jdlxks; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String ddy; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String zhzfxm; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String zhzfdh; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String zhzfbm; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,49 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 数字城管网格化信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghSzcgwghDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String note; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String sssq; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String ssjd; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String id; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,49 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 市政责任网格信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghSzzrwgDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String note; |
||||
|
|
||||
|
/** |
||||
|
* 责任单位 |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* 监管人 |
||||
|
*/ |
||||
|
private String principal; |
||||
|
|
||||
|
/** |
||||
|
* 联系方式 |
||||
|
*/ |
||||
|
private String phone; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,134 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 危化品单位信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghWhpdwDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* 序号 |
||||
|
*/ |
||||
|
private String xh; |
||||
|
|
||||
|
/** |
||||
|
* 单位名称 |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double area; |
||||
|
|
||||
|
/** |
||||
|
* 周边安全间距 |
||||
|
*/ |
||||
|
private String space; |
||||
|
|
||||
|
/** |
||||
|
* 存在问题 |
||||
|
*/ |
||||
|
private String problem; |
||||
|
|
||||
|
/** |
||||
|
* 危险源类型 |
||||
|
*/ |
||||
|
private String type; |
||||
|
|
||||
|
/** |
||||
|
* 经营地址 |
||||
|
*/ |
||||
|
private String location; |
||||
|
|
||||
|
/** |
||||
|
* 安全负责人 |
||||
|
*/ |
||||
|
private String person; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String phone; |
||||
|
|
||||
|
/** |
||||
|
* 企业类型 |
||||
|
*/ |
||||
|
private String qtype; |
||||
|
|
||||
|
/** |
||||
|
* 危化品种类 |
||||
|
*/ |
||||
|
private String wtype; |
||||
|
|
||||
|
/** |
||||
|
* 数量 |
||||
|
*/ |
||||
|
private String amount; |
||||
|
|
||||
|
/** |
||||
|
* 等级 |
||||
|
*/ |
||||
|
private String grade; |
||||
|
|
||||
|
/** |
||||
|
* 性质 |
||||
|
*/ |
||||
|
private String natrue; |
||||
|
|
||||
|
/** |
||||
|
* 应急措施 |
||||
|
*/ |
||||
|
private String yjcs; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String note; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String dwmcjc; |
||||
|
|
||||
|
/** |
||||
|
* 主要负责人 |
||||
|
*/ |
||||
|
private String principal; |
||||
|
|
||||
|
/** |
||||
|
* 用途 |
||||
|
*/ |
||||
|
private String user; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String layer; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String ssjdb; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,84 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 应急避难场所信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghYjbmcsDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String grade; |
||||
|
|
||||
|
/** |
||||
|
* 地址 |
||||
|
*/ |
||||
|
private String adress; |
||||
|
|
||||
|
/** |
||||
|
* 面积(㎡) |
||||
|
*/ |
||||
|
private String area; |
||||
|
|
||||
|
/** |
||||
|
* 容纳人数 |
||||
|
*/ |
||||
|
private String rnns; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String sfbsp; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String zysbcs; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String fzr; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String zgdw; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String fzrtel; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String ssjd; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,124 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 油气合建站信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghYqhjzDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* 序号 |
||||
|
*/ |
||||
|
private String xh; |
||||
|
|
||||
|
/** |
||||
|
* 单位名称 |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double area; |
||||
|
|
||||
|
/** |
||||
|
* 周边安全间距 |
||||
|
*/ |
||||
|
private String space; |
||||
|
|
||||
|
/** |
||||
|
* 危险源类型 |
||||
|
*/ |
||||
|
private String type; |
||||
|
|
||||
|
/** |
||||
|
* 经营地址 |
||||
|
*/ |
||||
|
private String location; |
||||
|
|
||||
|
/** |
||||
|
* 负责人 |
||||
|
*/ |
||||
|
private String principal; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String phone; |
||||
|
|
||||
|
/** |
||||
|
* 企业类型 |
||||
|
*/ |
||||
|
private String qtype; |
||||
|
|
||||
|
/** |
||||
|
* 危化品种类 |
||||
|
*/ |
||||
|
private String wtype; |
||||
|
|
||||
|
/** |
||||
|
* 数量 |
||||
|
*/ |
||||
|
private String amount; |
||||
|
|
||||
|
/** |
||||
|
* 等级 |
||||
|
*/ |
||||
|
private String grade; |
||||
|
|
||||
|
/** |
||||
|
* 性质 |
||||
|
*/ |
||||
|
private String natrue; |
||||
|
|
||||
|
/** |
||||
|
* 应急措施 |
||||
|
*/ |
||||
|
private String yjcs; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String note; |
||||
|
|
||||
|
/** |
||||
|
* 简称 |
||||
|
*/ |
||||
|
private String dwmcjc; |
||||
|
|
||||
|
/** |
||||
|
* 所在图层 |
||||
|
*/ |
||||
|
private String layer; |
||||
|
|
||||
|
/** |
||||
|
* 所属街道办 |
||||
|
*/ |
||||
|
private String ssjdb; |
||||
|
|
||||
|
/** |
||||
|
* 存在问题 |
||||
|
*/ |
||||
|
private String problem; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,96 @@ |
|||||
|
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.form.PreserVationFormDTO; |
||||
|
import com.epmet.opendata.dto.wgh.BasegridDTO; |
||||
|
import com.epmet.opendata.excel.BasegridExcel; |
||||
|
import com.epmet.opendata.service.BasegridService; |
||||
|
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-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("basegrid") |
||||
|
public class BasegridController { |
||||
|
|
||||
|
@Autowired |
||||
|
private BasegridService basegridService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<BasegridDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<BasegridDTO> page = basegridService.page(params); |
||||
|
return new Result<PageData<BasegridDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<BasegridDTO> get(@PathVariable("id") String id){ |
||||
|
BasegridDTO data = basegridService.get(id); |
||||
|
return new Result<BasegridDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody BasegridDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
basegridService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody BasegridDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
basegridService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
basegridService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<BasegridDTO> list = basegridService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, BasegridExcel.class); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi存储基础网格的数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 13:40 |
||||
|
*/ |
||||
|
@PostMapping("preserBaseGridVation") |
||||
|
public Result getPreserLouDongVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
basegridService.preserBaseGridVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,83 @@ |
|||||
|
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.form.PreserVationFormDTO; |
||||
|
import com.epmet.opendata.dto.wgh.BmGridDTO; |
||||
|
import com.epmet.opendata.excel.BmGridExcel; |
||||
|
import com.epmet.opendata.service.BmGridService; |
||||
|
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-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("bmGrid") |
||||
|
public class BmGridController { |
||||
|
|
||||
|
@Autowired |
||||
|
private BmGridService bmGridService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<BmGridDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<BmGridDTO> page = bmGridService.page(params); |
||||
|
return new Result<PageData<BmGridDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<BmGridDTO> get(@PathVariable("id") String id){ |
||||
|
BmGridDTO data = bmGridService.get(id); |
||||
|
return new Result<BmGridDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody BmGridDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
bmGridService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody BmGridDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
bmGridService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
bmGridService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<BmGridDTO> list = bmGridService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, BmGridExcel.class); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,83 @@ |
|||||
|
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.UpdateGroup; |
||||
|
import com.epmet.commons.tools.validator.group.DefaultGroup; |
||||
|
|
||||
|
import com.epmet.opendata.dto.wgh.CommunityDTO; |
||||
|
import com.epmet.opendata.excel.CommunityExcel; |
||||
|
import com.epmet.opendata.service.CommunityService; |
||||
|
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-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("community") |
||||
|
public class CommunityController { |
||||
|
|
||||
|
@Autowired |
||||
|
private CommunityService communityService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<CommunityDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<CommunityDTO> page = communityService.page(params); |
||||
|
return new Result<PageData<CommunityDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<CommunityDTO> get(@PathVariable("id") String id){ |
||||
|
CommunityDTO data = communityService.get(id); |
||||
|
return new Result<CommunityDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody CommunityDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
communityService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody CommunityDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
communityService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
communityService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<CommunityDTO> list = communityService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, CommunityExcel.class); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,83 @@ |
|||||
|
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.UpdateGroup; |
||||
|
import com.epmet.commons.tools.validator.group.DefaultGroup; |
||||
|
|
||||
|
import com.epmet.opendata.dto.wgh.SubdistrictOfficeDTO; |
||||
|
import com.epmet.opendata.excel.SubdistrictOfficeExcel; |
||||
|
import com.epmet.opendata.service.SubdistrictOfficeService; |
||||
|
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-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("subdistrictOffice") |
||||
|
public class SubdistrictOfficeController { |
||||
|
|
||||
|
@Autowired |
||||
|
private SubdistrictOfficeService subdistrictOfficeService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<SubdistrictOfficeDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<SubdistrictOfficeDTO> page = subdistrictOfficeService.page(params); |
||||
|
return new Result<PageData<SubdistrictOfficeDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<SubdistrictOfficeDTO> get(@PathVariable("id") String id){ |
||||
|
SubdistrictOfficeDTO data = subdistrictOfficeService.get(id); |
||||
|
return new Result<SubdistrictOfficeDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody SubdistrictOfficeDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
subdistrictOfficeService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody SubdistrictOfficeDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
subdistrictOfficeService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
subdistrictOfficeService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<SubdistrictOfficeDTO> list = subdistrictOfficeService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, SubdistrictOfficeExcel.class); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,83 @@ |
|||||
|
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.UpdateGroup; |
||||
|
import com.epmet.commons.tools.validator.group.DefaultGroup; |
||||
|
|
||||
|
import com.epmet.opendata.dto.wgh.WghDywgDTO; |
||||
|
import com.epmet.opendata.excel.WghDywgExcel; |
||||
|
import com.epmet.opendata.service.WghDywgService; |
||||
|
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-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("wghDywg") |
||||
|
public class WghDywgController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghDywgService wghDywgService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<WghDywgDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<WghDywgDTO> page = wghDywgService.page(params); |
||||
|
return new Result<PageData<WghDywgDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<WghDywgDTO> get(@PathVariable("id") String id){ |
||||
|
WghDywgDTO data = wghDywgService.get(id); |
||||
|
return new Result<WghDywgDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody WghDywgDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
wghDywgService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody WghDywgDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
wghDywgService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
wghDywgService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<WghDywgDTO> list = wghDywgService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, WghDywgExcel.class); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,83 @@ |
|||||
|
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.UpdateGroup; |
||||
|
import com.epmet.commons.tools.validator.group.DefaultGroup; |
||||
|
|
||||
|
import com.epmet.opendata.dto.wgh.WghJdbDTO; |
||||
|
import com.epmet.opendata.excel.WghJdbExcel; |
||||
|
import com.epmet.opendata.service.WghJdbService; |
||||
|
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-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("wghJdb") |
||||
|
public class WghJdbController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghJdbService wghJdbService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<WghJdbDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<WghJdbDTO> page = wghJdbService.page(params); |
||||
|
return new Result<PageData<WghJdbDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<WghJdbDTO> get(@PathVariable("id") String id){ |
||||
|
WghJdbDTO data = wghJdbService.get(id); |
||||
|
return new Result<WghJdbDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody WghJdbDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
wghJdbService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody WghJdbDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
wghJdbService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
wghJdbService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<WghJdbDTO> list = wghJdbService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, WghJdbExcel.class); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,83 @@ |
|||||
|
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.UpdateGroup; |
||||
|
import com.epmet.commons.tools.validator.group.DefaultGroup; |
||||
|
|
||||
|
import com.epmet.opendata.dto.wgh.WghJqzDTO; |
||||
|
import com.epmet.opendata.excel.WghJqzExcel; |
||||
|
import com.epmet.opendata.service.WghJqzService; |
||||
|
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-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("wghJqz") |
||||
|
public class WghJqzController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghJqzService wghJqzService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<WghJqzDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<WghJqzDTO> page = wghJqzService.page(params); |
||||
|
return new Result<PageData<WghJqzDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<WghJqzDTO> get(@PathVariable("id") String id){ |
||||
|
WghJqzDTO data = wghJqzService.get(id); |
||||
|
return new Result<WghJqzDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody WghJqzDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
wghJqzService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody WghJqzDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
wghJqzService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
wghJqzService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<WghJqzDTO> list = wghJqzService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, WghJqzExcel.class); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
@ -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.wgh.WghJxcsDTO; |
||||
|
import com.epmet.opendata.excel.WghJxcsExcel; |
||||
|
import com.epmet.opendata.service.WghJxcsService; |
||||
|
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-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("wghJxcs") |
||||
|
public class WghJxcsController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghJxcsService wghJxcsService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<WghJxcsDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<WghJxcsDTO> page = wghJxcsService.page(params); |
||||
|
return new Result<PageData<WghJxcsDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<WghJxcsDTO> get(@PathVariable("id") String id){ |
||||
|
WghJxcsDTO data = wghJxcsService.get(id); |
||||
|
return new Result<WghJxcsDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody WghJxcsDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
wghJxcsService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody WghJxcsDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
wghJxcsService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
wghJxcsService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<WghJxcsDTO> list = wghJxcsService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, WghJxcsExcel.class); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
@ -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.wgh.WghJyzDTO; |
||||
|
import com.epmet.opendata.excel.WghJyzExcel; |
||||
|
import com.epmet.opendata.service.WghJyzService; |
||||
|
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-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("wghJyz") |
||||
|
public class WghJyzController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghJyzService wghJyzService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<WghJyzDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<WghJyzDTO> page = wghJyzService.page(params); |
||||
|
return new Result<PageData<WghJyzDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<WghJyzDTO> get(@PathVariable("id") String id){ |
||||
|
WghJyzDTO data = wghJyzService.get(id); |
||||
|
return new Result<WghJyzDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody WghJyzDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
wghJyzService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody WghJyzDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
wghJyzService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
wghJyzService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<WghJyzDTO> list = wghJyzService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, WghJyzExcel.class); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
@ -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.wgh.WghSjxxbDTO; |
||||
|
import com.epmet.opendata.excel.WghSjxxbExcel; |
||||
|
import com.epmet.opendata.service.WghSjxxbService; |
||||
|
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-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("wghSjxxb") |
||||
|
public class WghSjxxbController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghSjxxbService wghSjxxbService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<WghSjxxbDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<WghSjxxbDTO> page = wghSjxxbService.page(params); |
||||
|
return new Result<PageData<WghSjxxbDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<WghSjxxbDTO> get(@PathVariable("id") String id){ |
||||
|
WghSjxxbDTO data = wghSjxxbService.get(id); |
||||
|
return new Result<WghSjxxbDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody WghSjxxbDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
wghSjxxbService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody WghSjxxbDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
wghSjxxbService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
wghSjxxbService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<WghSjxxbDTO> list = wghSjxxbService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, WghSjxxbExcel.class); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
@ -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.wgh.WghSqxxDTO; |
||||
|
import com.epmet.opendata.excel.WghSqxxExcel; |
||||
|
import com.epmet.opendata.service.WghSqxxService; |
||||
|
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-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("wghSqxx") |
||||
|
public class WghSqxxController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghSqxxService wghSqxxService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<WghSqxxDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<WghSqxxDTO> page = wghSqxxService.page(params); |
||||
|
return new Result<PageData<WghSqxxDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<WghSqxxDTO> get(@PathVariable("id") String id){ |
||||
|
WghSqxxDTO data = wghSqxxService.get(id); |
||||
|
return new Result<WghSqxxDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody WghSqxxDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
wghSqxxService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody WghSqxxDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
wghSqxxService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
wghSqxxService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<WghSqxxDTO> list = wghSqxxService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, WghSqxxExcel.class); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
@ -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.wgh.WghSzcgwghDTO; |
||||
|
import com.epmet.opendata.excel.WghSzcgwghExcel; |
||||
|
import com.epmet.opendata.service.WghSzcgwghService; |
||||
|
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-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("wghSzcgwgh") |
||||
|
public class WghSzcgwghController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghSzcgwghService wghSzcgwghService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<WghSzcgwghDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<WghSzcgwghDTO> page = wghSzcgwghService.page(params); |
||||
|
return new Result<PageData<WghSzcgwghDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<WghSzcgwghDTO> get(@PathVariable("id") String id){ |
||||
|
WghSzcgwghDTO data = wghSzcgwghService.get(id); |
||||
|
return new Result<WghSzcgwghDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody WghSzcgwghDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
wghSzcgwghService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody WghSzcgwghDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
wghSzcgwghService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
wghSzcgwghService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<WghSzcgwghDTO> list = wghSzcgwghService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, WghSzcgwghExcel.class); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
@ -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.wgh.WghSzzrwgDTO; |
||||
|
import com.epmet.opendata.excel.WghSzzrwgExcel; |
||||
|
import com.epmet.opendata.service.WghSzzrwgService; |
||||
|
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-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("wghSzzrwg") |
||||
|
public class WghSzzrwgController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghSzzrwgService wghSzzrwgService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<WghSzzrwgDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<WghSzzrwgDTO> page = wghSzzrwgService.page(params); |
||||
|
return new Result<PageData<WghSzzrwgDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<WghSzzrwgDTO> get(@PathVariable("id") String id){ |
||||
|
WghSzzrwgDTO data = wghSzzrwgService.get(id); |
||||
|
return new Result<WghSzzrwgDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody WghSzzrwgDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
wghSzzrwgService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody WghSzzrwgDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
wghSzzrwgService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
wghSzzrwgService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<WghSzzrwgDTO> list = wghSzzrwgService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, WghSzzrwgExcel.class); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
@ -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.UpdateGroup; |
||||
|
import com.epmet.commons.tools.validator.group.DefaultGroup; |
||||
|
import com.epmet.opendata.dto.wgh.WghWhpdwDTO; |
||||
|
import com.epmet.opendata.excel.WghWhpdwExcel; |
||||
|
import com.epmet.opendata.service.WghWhpdwService; |
||||
|
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-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("wghWhpdw") |
||||
|
public class WghWhpdwController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghWhpdwService wghWhpdwService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<WghWhpdwDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<WghWhpdwDTO> page = wghWhpdwService.page(params); |
||||
|
return new Result<PageData<WghWhpdwDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<WghWhpdwDTO> get(@PathVariable("id") String id){ |
||||
|
WghWhpdwDTO data = wghWhpdwService.get(id); |
||||
|
return new Result<WghWhpdwDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody WghWhpdwDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
wghWhpdwService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody WghWhpdwDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
wghWhpdwService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
wghWhpdwService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<WghWhpdwDTO> list = wghWhpdwService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, WghWhpdwExcel.class); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
@ -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.wgh.WghYjbmcsDTO; |
||||
|
import com.epmet.opendata.excel.WghYjbmcsExcel; |
||||
|
import com.epmet.opendata.service.WghYjbmcsService; |
||||
|
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-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("wghYjbmcs") |
||||
|
public class WghYjbmcsController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghYjbmcsService wghYjbmcsService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<WghYjbmcsDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<WghYjbmcsDTO> page = wghYjbmcsService.page(params); |
||||
|
return new Result<PageData<WghYjbmcsDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<WghYjbmcsDTO> get(@PathVariable("id") String id){ |
||||
|
WghYjbmcsDTO data = wghYjbmcsService.get(id); |
||||
|
return new Result<WghYjbmcsDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody WghYjbmcsDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
wghYjbmcsService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody WghYjbmcsDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
wghYjbmcsService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
wghYjbmcsService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<WghYjbmcsDTO> list = wghYjbmcsService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, WghYjbmcsExcel.class); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,81 @@ |
|||||
|
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.service.WghYqhjzService; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
import com.epmet.opendata.dto.wgh.WghYqhjzDTO; |
||||
|
import javax.servlet.http.HttpServletResponse; |
||||
|
import com.epmet.opendata.excel.WghYqhjzExcel; |
||||
|
import java.util.List; |
||||
|
import java.util.Map; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 油气合建站信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("wghYqhjz") |
||||
|
public class WghYqhjzController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghYqhjzService wghYqhjzService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<WghYqhjzDTO>> page(@RequestParam Map<String, Object> params){ |
||||
|
PageData<WghYqhjzDTO> page = wghYqhjzService.page(params); |
||||
|
return new Result<PageData<WghYqhjzDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
||||
|
public Result<WghYqhjzDTO> get(@PathVariable("id") String id){ |
||||
|
WghYqhjzDTO data = wghYqhjzService.get(id); |
||||
|
return new Result<WghYqhjzDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody WghYqhjzDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
wghYqhjzService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody WghYqhjzDTO dto){ |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
wghYqhjzService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids){ |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
wghYqhjzService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<WghYqhjzDTO> list = wghYqhjzService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, WghYqhjzExcel.class); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,18 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
|
||||
|
import com.epmet.opendata.entity.BasegridEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface BasegridDao extends BaseDao<BasegridEntity> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
||||
@ -0,0 +1,17 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
|
||||
|
import com.epmet.opendata.entity.BmGridEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface BmGridDao extends BaseDao<BmGridEntity> { |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,17 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
|
||||
|
import com.epmet.opendata.entity.CommunityEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface CommunityDao extends BaseDao<CommunityEntity> { |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,17 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
|
||||
|
import com.epmet.opendata.entity.SubdistrictOfficeEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface SubdistrictOfficeDao extends BaseDao<SubdistrictOfficeEntity> { |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,17 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
|
||||
|
import com.epmet.opendata.entity.WghDywgEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* 单元网格 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghDywgDao extends BaseDao<WghDywgEntity> { |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,17 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
|
||||
|
import com.epmet.opendata.entity.WghJdbEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* 街道办 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghJdbDao extends BaseDao<WghJdbEntity> { |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,16 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
import com.epmet.opendata.entity.WghJqzEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* 加气站信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghJqzDao extends BaseDao<WghJqzEntity> { |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,16 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
import com.epmet.opendata.entity.WghJxcsEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* 九小场所信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghJxcsDao extends BaseDao<WghJxcsEntity> { |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,16 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
import com.epmet.opendata.entity.WghJyzEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* 加油站 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghJyzDao extends BaseDao<WghJyzEntity> { |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,16 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
import com.epmet.opendata.entity.WghSjxxbEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* 事件信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghSjxxbDao extends BaseDao<WghSjxxbEntity> { |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,17 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
|
||||
|
import com.epmet.opendata.entity.WghSqxxEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghSqxxDao extends BaseDao<WghSqxxEntity> { |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,17 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
|
||||
|
import com.epmet.opendata.entity.WghSzcgwghEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* 数字城管网格化信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghSzcgwghDao extends BaseDao<WghSzcgwghEntity> { |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,16 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
import com.epmet.opendata.entity.WghSzzrwgEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* 市政责任网格信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghSzzrwgDao extends BaseDao<WghSzzrwgEntity> { |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,16 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
import com.epmet.opendata.entity.WghWhpdwEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* 危化品单位信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghWhpdwDao extends BaseDao<WghWhpdwEntity> { |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,16 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
import com.epmet.opendata.entity.WghYjbmcsEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* 应急避难场所信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghYjbmcsDao extends BaseDao<WghYjbmcsEntity> { |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,16 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
import com.epmet.opendata.entity.WghYqhjzEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* 油气合建站信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghYqhjzDao extends BaseDao<WghYqhjzEntity> { |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,69 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("basegrid") |
||||
|
public class BasegridEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String coordinateInfo; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String gridName; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String subDistrictOffice; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String community; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String streetCode; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String gridCode; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String communityCode; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String longitude; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String latitude; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,211 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("bm_grid") |
||||
|
public class BmGridEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 网格ID |
||||
|
*/ |
||||
|
private Long gridId; |
||||
|
|
||||
|
/** |
||||
|
* 网格编码。人工填写,编码规则业务规定,不允许重复。 |
||||
|
*/ |
||||
|
private String gridCode; |
||||
|
|
||||
|
/** |
||||
|
* 网格名称 |
||||
|
*/ |
||||
|
private String gridName; |
||||
|
|
||||
|
/** |
||||
|
* 行政区划的国标编码 |
||||
|
*/ |
||||
|
private String gbCode; |
||||
|
|
||||
|
/** |
||||
|
* 上级网格ID |
||||
|
*/ |
||||
|
private Long parentId; |
||||
|
|
||||
|
/** |
||||
|
* 上级网格编码 |
||||
|
*/ |
||||
|
private String parentCode; |
||||
|
|
||||
|
/** |
||||
|
* 网格分类。1基础网格 2环保网格 3防火网格 4城管网格 5执法网格 6安监网格等 |
||||
|
*/ |
||||
|
private String gridClassification; |
||||
|
|
||||
|
/** |
||||
|
* 网格层级。网格层级表的层级 |
||||
|
根据【网格层级表】的层级关系动态展示。 |
||||
|
查询【网格层级表】层级 条件:上层级=网格树返回的网格层级 |
||||
|
*/ |
||||
|
private String gridLevel; |
||||
|
|
||||
|
/** |
||||
|
* 网格属性。01村庄、02小区、03企业、04学校(幼儿园)、05医院、06驻镇(街)单位、07其他 |
||||
|
*/ |
||||
|
private String gridProperty; |
||||
|
|
||||
|
/** |
||||
|
* 是否最后一级:0否 1是 |
||||
|
*/ |
||||
|
private String isEnd; |
||||
|
|
||||
|
/** |
||||
|
* 网格地址 |
||||
|
*/ |
||||
|
private String gridAddress; |
||||
|
|
||||
|
/** |
||||
|
* 网格介绍 |
||||
|
*/ |
||||
|
private String gridIntroduce; |
||||
|
|
||||
|
/** |
||||
|
* 宣传图片 |
||||
|
*/ |
||||
|
private String gridPicture; |
||||
|
|
||||
|
/** |
||||
|
* 地图区域范围 |
||||
|
*/ |
||||
|
private String reginScopeDesc; |
||||
|
|
||||
|
/** |
||||
|
* 展示顺序 |
||||
|
*/ |
||||
|
private Integer gridSort; |
||||
|
|
||||
|
/** |
||||
|
* 标绘状态 |
||||
|
*/ |
||||
|
private String pointStatus; |
||||
|
|
||||
|
/** |
||||
|
* 事件上报中心 |
||||
|
*/ |
||||
|
private Long gridEmCenter; |
||||
|
|
||||
|
/** |
||||
|
* 初始日期 |
||||
|
*/ |
||||
|
private Date gridBeginTime; |
||||
|
|
||||
|
/** |
||||
|
* 终止日期 |
||||
|
*/ |
||||
|
private Date gridEndTime; |
||||
|
|
||||
|
/** |
||||
|
* 面积 |
||||
|
*/ |
||||
|
private String gridArea; |
||||
|
|
||||
|
/** |
||||
|
* 是否有效 |
||||
|
*/ |
||||
|
private String isValid; |
||||
|
|
||||
|
/** |
||||
|
* 创建人 |
||||
|
*/ |
||||
|
private Long createBy; |
||||
|
|
||||
|
/** |
||||
|
* 创建时间 |
||||
|
*/ |
||||
|
private Date createDate; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Long updateBy; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Date updateDate; |
||||
|
|
||||
|
/** |
||||
|
* 删除状态: 字典值:normal正常,删除deleted |
||||
|
*/ |
||||
|
private String deleteFlag; |
||||
|
|
||||
|
/** |
||||
|
* 乐观锁 |
||||
|
*/ |
||||
|
private Integer versions; |
||||
|
|
||||
|
/** |
||||
|
* 网格内人口规模 |
||||
|
*/ |
||||
|
private String attribute1; |
||||
|
|
||||
|
/** |
||||
|
* 是否成立网格党支部或网格党小组 |
||||
|
*/ |
||||
|
private String attribute2; |
||||
|
|
||||
|
/** |
||||
|
* 网格党组织类型 |
||||
|
*/ |
||||
|
private String attribute3; |
||||
|
|
||||
|
/** |
||||
|
* 党组织编码 |
||||
|
*/ |
||||
|
private String attribute4; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段 |
||||
|
*/ |
||||
|
private String attribute5; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段 |
||||
|
*/ |
||||
|
private Long attribute6; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段 |
||||
|
*/ |
||||
|
private Long attribute7; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段 |
||||
|
*/ |
||||
|
private Long attribute8; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段 |
||||
|
*/ |
||||
|
private Date attribute9; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段 |
||||
|
*/ |
||||
|
private Date attribute10; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,59 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("community") |
||||
|
public class CommunityEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String coordinateInfo; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String streetName; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String streetCode; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String communityName; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String communityCode; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String longitude; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String latitude; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,49 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("subdistrict_office") |
||||
|
public class SubdistrictOfficeEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String coordinateInfo; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String streetName; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String streetCode; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String longitude; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String latitude; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,79 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("wgh_dywg") |
||||
|
public class WghDywgEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* 网格名称 |
||||
|
*/ |
||||
|
private String bgname; |
||||
|
|
||||
|
/** |
||||
|
* 所属街镇 |
||||
|
*/ |
||||
|
private String street; |
||||
|
|
||||
|
/** |
||||
|
* 所属社区 |
||||
|
*/ |
||||
|
private String community; |
||||
|
|
||||
|
/** |
||||
|
* 网格面积 |
||||
|
*/ |
||||
|
private Double bgsqua; |
||||
|
|
||||
|
/** |
||||
|
* 初始时间 |
||||
|
*/ |
||||
|
private Date ordate; |
||||
|
|
||||
|
/** |
||||
|
* 变更时间 |
||||
|
*/ |
||||
|
private Date chdate; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String note; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String contacts; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String telphone; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,59 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("wgh_jdb") |
||||
|
public class WghJdbEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String objectid1; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String objectid; |
||||
|
|
||||
|
/** |
||||
|
* 街道名称 |
||||
|
*/ |
||||
|
private String mc; |
||||
|
|
||||
|
/** |
||||
|
* 责任人 |
||||
|
*/ |
||||
|
private String personInCharge; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String phone; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double shapeLeng; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,129 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("wgh_jqz") |
||||
|
public class WghJqzEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* 序号 |
||||
|
*/ |
||||
|
private String xh; |
||||
|
|
||||
|
/** |
||||
|
* 单位名称 |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double area; |
||||
|
|
||||
|
/** |
||||
|
* 周边安全间距 |
||||
|
*/ |
||||
|
private String space; |
||||
|
|
||||
|
/** |
||||
|
* 存在问题 |
||||
|
*/ |
||||
|
private String problem; |
||||
|
|
||||
|
/** |
||||
|
* 危险源类型 |
||||
|
*/ |
||||
|
private String type; |
||||
|
|
||||
|
/** |
||||
|
* 经营地址 |
||||
|
*/ |
||||
|
private String location; |
||||
|
|
||||
|
/** |
||||
|
* 负责人 |
||||
|
*/ |
||||
|
private String principal; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String phone; |
||||
|
|
||||
|
/** |
||||
|
* 企业类型 |
||||
|
*/ |
||||
|
private String qtype; |
||||
|
|
||||
|
/** |
||||
|
* 危化品种类 |
||||
|
*/ |
||||
|
private String wtype; |
||||
|
|
||||
|
/** |
||||
|
* 等级 |
||||
|
*/ |
||||
|
private String level; |
||||
|
|
||||
|
/** |
||||
|
* 性质 |
||||
|
*/ |
||||
|
private String nature; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String remarks; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String dwmcjc; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String layer; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String ssjdb; |
||||
|
|
||||
|
/** |
||||
|
* 数量 |
||||
|
*/ |
||||
|
private String amount; |
||||
|
|
||||
|
/** |
||||
|
* 应急措施 |
||||
|
*/ |
||||
|
private String yjcs; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,119 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("wgh_jxcs") |
||||
|
public class WghJxcsEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String objectid; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String jsonInfo; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String creatTime; |
||||
|
|
||||
|
/** |
||||
|
* 所属街道 |
||||
|
*/ |
||||
|
private String ssjd; |
||||
|
|
||||
|
/** |
||||
|
* 所属社区 |
||||
|
*/ |
||||
|
private String sssq; |
||||
|
|
||||
|
/** |
||||
|
* 道路名 |
||||
|
*/ |
||||
|
private String dlm; |
||||
|
|
||||
|
/** |
||||
|
* 门牌号 |
||||
|
*/ |
||||
|
private String mph; |
||||
|
|
||||
|
/** |
||||
|
* 名称 |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String ztlx; |
||||
|
|
||||
|
/** |
||||
|
* 子类型 |
||||
|
*/ |
||||
|
private String type; |
||||
|
|
||||
|
/** |
||||
|
* 统一社会信用代码 |
||||
|
*/ |
||||
|
private String xydm; |
||||
|
|
||||
|
/** |
||||
|
* 联系人 |
||||
|
*/ |
||||
|
private String lxr; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String lxdh; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String userName; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String bz; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String available; |
||||
|
|
||||
|
/** |
||||
|
* 编辑人ID |
||||
|
*/ |
||||
|
private String userId; |
||||
|
|
||||
|
/** |
||||
|
* 编辑人姓名 |
||||
|
*/ |
||||
|
private String updateTim; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private String insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,129 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("wgh_jyz") |
||||
|
public class WghJyzEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* 序号 |
||||
|
*/ |
||||
|
private String xh; |
||||
|
|
||||
|
/** |
||||
|
* 单位名称 |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double area; |
||||
|
|
||||
|
/** |
||||
|
* 周边安全间距 |
||||
|
*/ |
||||
|
private String space; |
||||
|
|
||||
|
/** |
||||
|
* 存在问题 |
||||
|
*/ |
||||
|
private String problem; |
||||
|
|
||||
|
/** |
||||
|
* 危险源类型 |
||||
|
*/ |
||||
|
private String type; |
||||
|
|
||||
|
/** |
||||
|
* 经营地址 |
||||
|
*/ |
||||
|
private String location; |
||||
|
|
||||
|
/** |
||||
|
* 负责人 |
||||
|
*/ |
||||
|
private String principal; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String phone; |
||||
|
|
||||
|
/** |
||||
|
* 企业类型 |
||||
|
*/ |
||||
|
private String qtype; |
||||
|
|
||||
|
/** |
||||
|
* 危化品种类 |
||||
|
*/ |
||||
|
private String wtype; |
||||
|
|
||||
|
/** |
||||
|
* 等级 |
||||
|
*/ |
||||
|
private String level; |
||||
|
|
||||
|
/** |
||||
|
* 性质 |
||||
|
*/ |
||||
|
private String nature; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String remarks; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String dwmcjc; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String layer; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String ssjdb; |
||||
|
|
||||
|
/** |
||||
|
* 数量 |
||||
|
*/ |
||||
|
private String amount; |
||||
|
|
||||
|
/** |
||||
|
* 应急措施 |
||||
|
*/ |
||||
|
private String yjcs; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,99 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("wgh_sjxxb") |
||||
|
public class WghSjxxbEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid1; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double objectid; |
||||
|
|
||||
|
/** |
||||
|
* 事件来源 |
||||
|
*/ |
||||
|
private String infosourcename; |
||||
|
|
||||
|
/** |
||||
|
* 事件类别 |
||||
|
*/ |
||||
|
private String infotypename; |
||||
|
|
||||
|
/** |
||||
|
* 社区名称 |
||||
|
*/ |
||||
|
private String communityname; |
||||
|
|
||||
|
/** |
||||
|
* 事件描述 |
||||
|
*/ |
||||
|
private String description; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String taskid; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String casesn; |
||||
|
|
||||
|
/** |
||||
|
* 事件地址 |
||||
|
*/ |
||||
|
private String address; |
||||
|
|
||||
|
/** |
||||
|
* 事件状态 |
||||
|
*/ |
||||
|
private String statusname; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String infobcname; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String infoscname; |
||||
|
|
||||
|
/** |
||||
|
* 街道名称 |
||||
|
*/ |
||||
|
private String streetname; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Date discovertime; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,144 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("wgh_sqxx") |
||||
|
public class WghSqxxEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double commuarea; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String belongto; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String contacts; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String telphone; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double numberOfGrid; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String streetCode; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String communityCode; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String commname; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String jdcjgb; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String wgz; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String policeName; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double trafficPolicePhone; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String trafficPoliceCompany; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String peoPoliceName; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String peoPolicePhone; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String policeStation; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String wgy; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String jdlxks; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String ddy; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String zhzfxm; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String zhzfdh; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String zhzfbm; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,49 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("wgh_szcgwgh") |
||||
|
public class WghSzcgwghEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String note; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String sssq; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String ssjd; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,54 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("wgh_szzrwg") |
||||
|
public class WghSzzrwgEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String note; |
||||
|
|
||||
|
/** |
||||
|
* 责任单位 |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* 监管人 |
||||
|
*/ |
||||
|
private String principal; |
||||
|
|
||||
|
/** |
||||
|
* 联系方式 |
||||
|
*/ |
||||
|
private String phone; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,139 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("wgh_whpdw") |
||||
|
public class WghWhpdwEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* 序号 |
||||
|
*/ |
||||
|
private String xh; |
||||
|
|
||||
|
/** |
||||
|
* 单位名称 |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double area; |
||||
|
|
||||
|
/** |
||||
|
* 周边安全间距 |
||||
|
*/ |
||||
|
private String space; |
||||
|
|
||||
|
/** |
||||
|
* 存在问题 |
||||
|
*/ |
||||
|
private String problem; |
||||
|
|
||||
|
/** |
||||
|
* 危险源类型 |
||||
|
*/ |
||||
|
private String type; |
||||
|
|
||||
|
/** |
||||
|
* 经营地址 |
||||
|
*/ |
||||
|
private String location; |
||||
|
|
||||
|
/** |
||||
|
* 安全负责人 |
||||
|
*/ |
||||
|
private String person; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String phone; |
||||
|
|
||||
|
/** |
||||
|
* 企业类型 |
||||
|
*/ |
||||
|
private String qtype; |
||||
|
|
||||
|
/** |
||||
|
* 危化品种类 |
||||
|
*/ |
||||
|
private String wtype; |
||||
|
|
||||
|
/** |
||||
|
* 数量 |
||||
|
*/ |
||||
|
private String amount; |
||||
|
|
||||
|
/** |
||||
|
* 等级 |
||||
|
*/ |
||||
|
private String grade; |
||||
|
|
||||
|
/** |
||||
|
* 性质 |
||||
|
*/ |
||||
|
private String natrue; |
||||
|
|
||||
|
/** |
||||
|
* 应急措施 |
||||
|
*/ |
||||
|
private String yjcs; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String note; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String dwmcjc; |
||||
|
|
||||
|
/** |
||||
|
* 主要负责人 |
||||
|
*/ |
||||
|
private String principal; |
||||
|
|
||||
|
/** |
||||
|
* 用途 |
||||
|
*/ |
||||
|
private String user; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String layer; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String ssjdb; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,89 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("wgh_yjbmcs") |
||||
|
public class WghYjbmcsEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String grade; |
||||
|
|
||||
|
/** |
||||
|
* 地址 |
||||
|
*/ |
||||
|
private String adress; |
||||
|
|
||||
|
/** |
||||
|
* 面积(㎡) |
||||
|
*/ |
||||
|
private String area; |
||||
|
|
||||
|
/** |
||||
|
* 容纳人数 |
||||
|
*/ |
||||
|
private String rnns; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String sfbsp; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String zysbcs; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String fzr; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String zgdw; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String fzrtel; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String ssjd; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,129 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("wgh_yqhjz") |
||||
|
public class WghYqhjzEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Integer objectid; |
||||
|
|
||||
|
/** |
||||
|
* 序号 |
||||
|
*/ |
||||
|
private String xh; |
||||
|
|
||||
|
/** |
||||
|
* 单位名称 |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double area; |
||||
|
|
||||
|
/** |
||||
|
* 周边安全间距 |
||||
|
*/ |
||||
|
private String space; |
||||
|
|
||||
|
/** |
||||
|
* 危险源类型 |
||||
|
*/ |
||||
|
private String type; |
||||
|
|
||||
|
/** |
||||
|
* 经营地址 |
||||
|
*/ |
||||
|
private String location; |
||||
|
|
||||
|
/** |
||||
|
* 负责人 |
||||
|
*/ |
||||
|
private String principal; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String phone; |
||||
|
|
||||
|
/** |
||||
|
* 企业类型 |
||||
|
*/ |
||||
|
private String qtype; |
||||
|
|
||||
|
/** |
||||
|
* 危化品种类 |
||||
|
*/ |
||||
|
private String wtype; |
||||
|
|
||||
|
/** |
||||
|
* 数量 |
||||
|
*/ |
||||
|
private String amount; |
||||
|
|
||||
|
/** |
||||
|
* 等级 |
||||
|
*/ |
||||
|
private String grade; |
||||
|
|
||||
|
/** |
||||
|
* 性质 |
||||
|
*/ |
||||
|
private String natrue; |
||||
|
|
||||
|
/** |
||||
|
* 应急措施 |
||||
|
*/ |
||||
|
private String yjcs; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String note; |
||||
|
|
||||
|
/** |
||||
|
* 简称 |
||||
|
*/ |
||||
|
private String dwmcjc; |
||||
|
|
||||
|
/** |
||||
|
* 所在图层 |
||||
|
*/ |
||||
|
private String layer; |
||||
|
|
||||
|
/** |
||||
|
* 所属街道办 |
||||
|
*/ |
||||
|
private String ssjdb; |
||||
|
|
||||
|
/** |
||||
|
* 存在问题 |
||||
|
*/ |
||||
|
private String problem; |
||||
|
|
||||
|
/** |
||||
|
* 插入日期 |
||||
|
*/ |
||||
|
private Date insertTime; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,45 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class BasegridExcel { |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String coordinateInfo; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String gridName; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String subDistrictOffice; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String community; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String streetCode; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String gridCode; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String communityCode; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String longitude; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String latitude; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,129 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class BmGridExcel { |
||||
|
|
||||
|
@Excel(name = "网格ID") |
||||
|
private Long gridId; |
||||
|
|
||||
|
@Excel(name = "网格编码。人工填写,编码规则业务规定,不允许重复。") |
||||
|
private String gridCode; |
||||
|
|
||||
|
@Excel(name = "网格名称") |
||||
|
private String gridName; |
||||
|
|
||||
|
@Excel(name = "行政区划的国标编码") |
||||
|
private String gbCode; |
||||
|
|
||||
|
@Excel(name = "上级网格ID") |
||||
|
private Long parentId; |
||||
|
|
||||
|
@Excel(name = "上级网格编码") |
||||
|
private String parentCode; |
||||
|
|
||||
|
@Excel(name = "网格分类。1基础网格 2环保网格 3防火网格 4城管网格 5执法网格 6安监网格等") |
||||
|
private String gridClassification; |
||||
|
|
||||
|
@Excel(name = "网格层级。网格层级表的层级 根据【网格层级表】的层级关系动态展示。 查询【网格层级表】层级 条件:上层级=网格树返回的网格层级") |
||||
|
private String gridLevel; |
||||
|
|
||||
|
@Excel(name = "网格属性。01村庄、02小区、03企业、04学校(幼儿园)、05医院、06驻镇(街)单位、07其他") |
||||
|
private String gridProperty; |
||||
|
|
||||
|
@Excel(name = "是否最后一级:0否 1是") |
||||
|
private String isEnd; |
||||
|
|
||||
|
@Excel(name = "网格地址") |
||||
|
private String gridAddress; |
||||
|
|
||||
|
@Excel(name = "网格介绍") |
||||
|
private String gridIntroduce; |
||||
|
|
||||
|
@Excel(name = "宣传图片") |
||||
|
private String gridPicture; |
||||
|
|
||||
|
@Excel(name = "地图区域范围") |
||||
|
private String reginScopeDesc; |
||||
|
|
||||
|
@Excel(name = "展示顺序") |
||||
|
private Integer gridSort; |
||||
|
|
||||
|
@Excel(name = "标绘状态") |
||||
|
private String pointStatus; |
||||
|
|
||||
|
@Excel(name = "事件上报中心") |
||||
|
private Long gridEmCenter; |
||||
|
|
||||
|
@Excel(name = "初始日期") |
||||
|
private Date gridBeginTime; |
||||
|
|
||||
|
@Excel(name = "终止日期") |
||||
|
private Date gridEndTime; |
||||
|
|
||||
|
@Excel(name = "面积") |
||||
|
private String gridArea; |
||||
|
|
||||
|
@Excel(name = "是否有效") |
||||
|
private String isValid; |
||||
|
|
||||
|
@Excel(name = "创建人") |
||||
|
private Long createBy; |
||||
|
|
||||
|
@Excel(name = "创建时间") |
||||
|
private Date createDate; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Long updateBy; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Date updateDate; |
||||
|
|
||||
|
@Excel(name = "删除状态: 字典值:normal正常,删除deleted") |
||||
|
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 = "党组织编码") |
||||
|
private String attribute4; |
||||
|
|
||||
|
@Excel(name = "扩展字段") |
||||
|
private String attribute5; |
||||
|
|
||||
|
@Excel(name = "扩展字段") |
||||
|
private Long attribute6; |
||||
|
|
||||
|
@Excel(name = "扩展字段") |
||||
|
private Long attribute7; |
||||
|
|
||||
|
@Excel(name = "扩展字段") |
||||
|
private Long attribute8; |
||||
|
|
||||
|
@Excel(name = "扩展字段") |
||||
|
private Date attribute9; |
||||
|
|
||||
|
@Excel(name = "扩展字段") |
||||
|
private Date attribute10; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,39 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CommunityExcel { |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String coordinateInfo; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String streetName; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String streetCode; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String communityName; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String communityCode; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String longitude; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String latitude; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,33 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class SubdistrictOfficeExcel { |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String coordinateInfo; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String streetName; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String streetCode; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String longitude; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String latitude; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,51 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghDywgExcel { |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Integer objectid; |
||||
|
|
||||
|
@Excel(name = "网格名称") |
||||
|
private String bgname; |
||||
|
|
||||
|
@Excel(name = "所属街镇") |
||||
|
private String street; |
||||
|
|
||||
|
@Excel(name = "所属社区") |
||||
|
private String community; |
||||
|
|
||||
|
@Excel(name = "网格面积") |
||||
|
private Double bgsqua; |
||||
|
|
||||
|
@Excel(name = "初始时间") |
||||
|
private Date ordate; |
||||
|
|
||||
|
@Excel(name = "变更时间") |
||||
|
private Date chdate; |
||||
|
|
||||
|
@Excel(name = "备注") |
||||
|
private String note; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String contacts; |
||||
|
|
||||
|
@Excel(name = "联系电话") |
||||
|
private String telphone; |
||||
|
|
||||
|
@Excel(name = "插入日期") |
||||
|
private Date insertTime; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,39 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghJdbExcel { |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String objectid1; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String objectid; |
||||
|
|
||||
|
@Excel(name = "街道名称") |
||||
|
private String mc; |
||||
|
|
||||
|
@Excel(name = "责任人") |
||||
|
private String personInCharge; |
||||
|
|
||||
|
@Excel(name = "联系电话") |
||||
|
private String 联系电话; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Double shapeLeng; |
||||
|
|
||||
|
@Excel(name = "插入日期") |
||||
|
private Date insertTime; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,81 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghJqzExcel { |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Integer objectid; |
||||
|
|
||||
|
@Excel(name = "序号") |
||||
|
private String xh; |
||||
|
|
||||
|
@Excel(name = "单位名称") |
||||
|
private String name; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Double area; |
||||
|
|
||||
|
@Excel(name = "周边安全间距") |
||||
|
private String space; |
||||
|
|
||||
|
@Excel(name = "存在问题") |
||||
|
private String problem; |
||||
|
|
||||
|
@Excel(name = "危险源类型") |
||||
|
private String type; |
||||
|
|
||||
|
@Excel(name = "经营地址") |
||||
|
private String location; |
||||
|
|
||||
|
@Excel(name = "负责人") |
||||
|
private String principal; |
||||
|
|
||||
|
@Excel(name = "联系电话") |
||||
|
private String phone; |
||||
|
|
||||
|
@Excel(name = "企业类型") |
||||
|
private String qtype; |
||||
|
|
||||
|
@Excel(name = "危化品种类") |
||||
|
private String wtype; |
||||
|
|
||||
|
@Excel(name = "等级") |
||||
|
private String level; |
||||
|
|
||||
|
@Excel(name = "性质") |
||||
|
private String nature; |
||||
|
|
||||
|
@Excel(name = "备注") |
||||
|
private String remarks; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String dwmcjc; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String layer; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String ssjdb; |
||||
|
|
||||
|
@Excel(name = "数量") |
||||
|
private String amount; |
||||
|
|
||||
|
@Excel(name = "应急措施") |
||||
|
private String yjcs; |
||||
|
|
||||
|
@Excel(name = "插入日期") |
||||
|
private Date insertTime; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,78 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghJxcsExcel { |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String objectid; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String jsonInfo; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String creatTime; |
||||
|
|
||||
|
@Excel(name = "所属街道") |
||||
|
private String ssjd; |
||||
|
|
||||
|
@Excel(name = "所属社区") |
||||
|
private String sssq; |
||||
|
|
||||
|
@Excel(name = "道路名") |
||||
|
private String dlm; |
||||
|
|
||||
|
@Excel(name = "门牌号") |
||||
|
private String mph; |
||||
|
|
||||
|
@Excel(name = "名称") |
||||
|
private String name; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String ztlx; |
||||
|
|
||||
|
@Excel(name = "子类型") |
||||
|
private String type; |
||||
|
|
||||
|
@Excel(name = "统一社会信用代码") |
||||
|
private String xydm; |
||||
|
|
||||
|
@Excel(name = "联系人") |
||||
|
private String lxr; |
||||
|
|
||||
|
@Excel(name = "联系电话") |
||||
|
private String lxdh; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String userName; |
||||
|
|
||||
|
@Excel(name = "备注") |
||||
|
private String bz; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String available; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String id; |
||||
|
|
||||
|
@Excel(name = "编辑人ID") |
||||
|
private String userId; |
||||
|
|
||||
|
@Excel(name = "编辑人姓名") |
||||
|
private String updateTim; |
||||
|
|
||||
|
@Excel(name = "插入日期") |
||||
|
private String insertTime; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,81 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghJyzExcel { |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Integer objectid; |
||||
|
|
||||
|
@Excel(name = "序号") |
||||
|
private String xh; |
||||
|
|
||||
|
@Excel(name = "单位名称") |
||||
|
private String name; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Double area; |
||||
|
|
||||
|
@Excel(name = "周边安全间距") |
||||
|
private String space; |
||||
|
|
||||
|
@Excel(name = "存在问题") |
||||
|
private String problem; |
||||
|
|
||||
|
@Excel(name = "危险源类型") |
||||
|
private String type; |
||||
|
|
||||
|
@Excel(name = "经营地址") |
||||
|
private String location; |
||||
|
|
||||
|
@Excel(name = "负责人") |
||||
|
private String principal; |
||||
|
|
||||
|
@Excel(name = "联系电话") |
||||
|
private String phone; |
||||
|
|
||||
|
@Excel(name = "企业类型") |
||||
|
private String qtype; |
||||
|
|
||||
|
@Excel(name = "危化品种类") |
||||
|
private String wtype; |
||||
|
|
||||
|
@Excel(name = "等级") |
||||
|
private String level; |
||||
|
|
||||
|
@Excel(name = "性质") |
||||
|
private String nature; |
||||
|
|
||||
|
@Excel(name = "备注") |
||||
|
private String remarks; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String dwmcjc; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String layer; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String ssjdb; |
||||
|
|
||||
|
@Excel(name = "数量") |
||||
|
private String amount; |
||||
|
|
||||
|
@Excel(name = "应急措施") |
||||
|
private String yjcs; |
||||
|
|
||||
|
@Excel(name = "插入日期") |
||||
|
private Date insertTime; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,63 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghSjxxbExcel { |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Integer objectid1; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Double objectid; |
||||
|
|
||||
|
@Excel(name = "事件来源") |
||||
|
private String infosourcename; |
||||
|
|
||||
|
@Excel(name = "事件类别") |
||||
|
private String infotypename; |
||||
|
|
||||
|
@Excel(name = "社区名称") |
||||
|
private String communityname; |
||||
|
|
||||
|
@Excel(name = "事件描述") |
||||
|
private String description; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String taskid; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String casesn; |
||||
|
|
||||
|
@Excel(name = "事件地址") |
||||
|
private String address; |
||||
|
|
||||
|
@Excel(name = "事件状态") |
||||
|
private String statusname; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String infobcname; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String infoscname; |
||||
|
|
||||
|
@Excel(name = "街道名称") |
||||
|
private String streetname; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Date discovertime; |
||||
|
|
||||
|
@Excel(name = "插入日期") |
||||
|
private Date insertTime; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,90 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghSqxxExcel { |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Integer objectid; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Double commuarea; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String belongto; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String contacts; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String telphone; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Double numberOfGrid; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String streetCode; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String communityCode; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String commname; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String jdcjgb; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String wgz; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String policeName; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Double trafficPolicePhone; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String trafficPoliceCompany; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String peoPoliceName; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String peoPolicePhone; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String policeStation; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String wgy; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String jdlxks; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String ddy; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String zhzfxm; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String zhzfdh; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String zhzfbm; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Date insertTime; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,36 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghSzcgwghExcel { |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Integer objectid; |
||||
|
|
||||
|
@Excel(name = "备注") |
||||
|
private String note; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String sssq; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String ssjd; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String id; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Date insertTime; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,36 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghSzzrwgExcel { |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Integer objectid; |
||||
|
|
||||
|
@Excel(name = "备注") |
||||
|
private String note; |
||||
|
|
||||
|
@Excel(name = "责任单位") |
||||
|
private String name; |
||||
|
|
||||
|
@Excel(name = "监管人") |
||||
|
private String principal; |
||||
|
|
||||
|
@Excel(name = "联系方式") |
||||
|
private String phone; |
||||
|
|
||||
|
@Excel(name = "插入日期") |
||||
|
private Date insertTime; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,87 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghWhpdwExcel { |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Integer objectid; |
||||
|
|
||||
|
@Excel(name = "序号") |
||||
|
private String xh; |
||||
|
|
||||
|
@Excel(name = "单位名称") |
||||
|
private String name; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Double area; |
||||
|
|
||||
|
@Excel(name = "周边安全间距") |
||||
|
private String space; |
||||
|
|
||||
|
@Excel(name = "存在问题") |
||||
|
private String problem; |
||||
|
|
||||
|
@Excel(name = "危险源类型") |
||||
|
private String type; |
||||
|
|
||||
|
@Excel(name = "经营地址") |
||||
|
private String location; |
||||
|
|
||||
|
@Excel(name = "安全负责人") |
||||
|
private String person; |
||||
|
|
||||
|
@Excel(name = "联系电话") |
||||
|
private String phone; |
||||
|
|
||||
|
@Excel(name = "企业类型") |
||||
|
private String qtype; |
||||
|
|
||||
|
@Excel(name = "危化品种类") |
||||
|
private String wtype; |
||||
|
|
||||
|
@Excel(name = "数量") |
||||
|
private String amount; |
||||
|
|
||||
|
@Excel(name = "等级") |
||||
|
private String grade; |
||||
|
|
||||
|
@Excel(name = "性质") |
||||
|
private String natrue; |
||||
|
|
||||
|
@Excel(name = "应急措施") |
||||
|
private String yjcs; |
||||
|
|
||||
|
@Excel(name = "备注") |
||||
|
private String note; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String dwmcjc; |
||||
|
|
||||
|
@Excel(name = "主要负责人") |
||||
|
private String principal; |
||||
|
|
||||
|
@Excel(name = "用途") |
||||
|
private String user; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String layer; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String ssjdb; |
||||
|
|
||||
|
@Excel(name = "插入日期") |
||||
|
private Date insertTime; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,57 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghYjbmcsExcel { |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Integer objectid; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String grade; |
||||
|
|
||||
|
@Excel(name = "地址") |
||||
|
private String adress; |
||||
|
|
||||
|
@Excel(name = "面积(㎡)") |
||||
|
private String area; |
||||
|
|
||||
|
@Excel(name = "容纳人数") |
||||
|
private String rnns; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String sfbsp; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String zysbcs; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String fzr; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String zgdw; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String name; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String fzrtel; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private String ssjd; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Date insertTime; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,81 @@ |
|||||
|
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-06-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghYqhjzExcel { |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Integer objectid; |
||||
|
|
||||
|
@Excel(name = "序号") |
||||
|
private String xh; |
||||
|
|
||||
|
@Excel(name = "单位名称") |
||||
|
private String name; |
||||
|
|
||||
|
@Excel(name = "") |
||||
|
private Double area; |
||||
|
|
||||
|
@Excel(name = "周边安全间距") |
||||
|
private String space; |
||||
|
|
||||
|
@Excel(name = "危险源类型") |
||||
|
private String type; |
||||
|
|
||||
|
@Excel(name = "经营地址") |
||||
|
private String location; |
||||
|
|
||||
|
@Excel(name = "负责人") |
||||
|
private String principal; |
||||
|
|
||||
|
@Excel(name = "联系电话") |
||||
|
private String phone; |
||||
|
|
||||
|
@Excel(name = "企业类型") |
||||
|
private String qtype; |
||||
|
|
||||
|
@Excel(name = "危化品种类") |
||||
|
private String wtype; |
||||
|
|
||||
|
@Excel(name = "数量") |
||||
|
private String amount; |
||||
|
|
||||
|
@Excel(name = "等级") |
||||
|
private String grade; |
||||
|
|
||||
|
@Excel(name = "性质") |
||||
|
private String natrue; |
||||
|
|
||||
|
@Excel(name = "应急措施") |
||||
|
private String yjcs; |
||||
|
|
||||
|
@Excel(name = "备注") |
||||
|
private String note; |
||||
|
|
||||
|
@Excel(name = "简称") |
||||
|
private String dwmcjc; |
||||
|
|
||||
|
@Excel(name = "所在图层") |
||||
|
private String layer; |
||||
|
|
||||
|
@Excel(name = "所属街道办") |
||||
|
private String ssjdb; |
||||
|
|
||||
|
@Excel(name = "存在问题") |
||||
|
private String problem; |
||||
|
|
||||
|
@Excel(name = "插入日期") |
||||
|
private Date insertTime; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -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-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class BasegridRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class BmGridRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class CommunityRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class SubdistrictOfficeRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* 单元网格 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WghDywgRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* 街道办 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WghJdbRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* 加气站信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WghJqzRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* 九小场所信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WghJxcsRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* 加油站 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WghJyzRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* 事件信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WghSjxxbRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WghSqxxRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* 数字城管网格化信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WghSzcgwghRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* 市政责任网格信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WghSzzrwgRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* 危化品单位信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WghWhpdwRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* 应急避难场所信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WghYjbmcsRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* 油气合建站信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WghYqhjzRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,88 @@ |
|||||
|
package com.epmet.opendata.service; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.service.BaseService; |
||||
|
import com.epmet.commons.tools.page.PageData; |
||||
|
import com.epmet.opendata.dto.form.PreserVationFormDTO; |
||||
|
import com.epmet.opendata.dto.wgh.BasegridDTO; |
||||
|
import com.epmet.opendata.entity.BasegridEntity; |
||||
|
|
||||
|
|
||||
|
import java.util.List; |
||||
|
import java.util.Map; |
||||
|
|
||||
|
/** |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
public interface BasegridService extends BaseService<BasegridEntity> { |
||||
|
|
||||
|
/** |
||||
|
* 默认分页 |
||||
|
* |
||||
|
* @param params |
||||
|
* @return PageData<BasegridDTO> |
||||
|
* @author generator |
||||
|
* @date 2022-06-14 |
||||
|
*/ |
||||
|
PageData<BasegridDTO> page(Map<String, Object> params); |
||||
|
|
||||
|
/** |
||||
|
* 默认查询 |
||||
|
* |
||||
|
* @param params |
||||
|
* @return java.util.List<BasegridDTO> |
||||
|
* @author generator |
||||
|
* @date 2022-06-14 |
||||
|
*/ |
||||
|
List<BasegridDTO> list(Map<String, Object> params); |
||||
|
|
||||
|
/** |
||||
|
* 单条查询 |
||||
|
* |
||||
|
* @param id |
||||
|
* @return BasegridDTO |
||||
|
* @author generator |
||||
|
* @date 2022-06-14 |
||||
|
*/ |
||||
|
BasegridDTO get(String id); |
||||
|
|
||||
|
/** |
||||
|
* 默认保存 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return void |
||||
|
* @author generator |
||||
|
* @date 2022-06-14 |
||||
|
*/ |
||||
|
void save(BasegridDTO dto); |
||||
|
|
||||
|
/** |
||||
|
* 默认更新 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return void |
||||
|
* @author generator |
||||
|
* @date 2022-06-14 |
||||
|
*/ |
||||
|
void update(BasegridDTO dto); |
||||
|
|
||||
|
/** |
||||
|
* 批量删除 |
||||
|
* |
||||
|
* @param ids |
||||
|
* @return void |
||||
|
* @author generator |
||||
|
* @date 2022-06-14 |
||||
|
*/ |
||||
|
void delete(String[] ids); |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi存储基础网格的数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return void |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 13:40 |
||||
|
*/ |
||||
|
void preserBaseGridVation(PreserVationFormDTO dto); |
||||
|
} |
||||
@ -0,0 +1,82 @@ |
|||||
|
package com.epmet.opendata.service; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.service.BaseService; |
||||
|
import com.epmet.commons.tools.page.PageData; |
||||
|
import com.epmet.opendata.dto.form.PreserVationFormDTO; |
||||
|
import com.epmet.opendata.dto.wgh.BmGridDTO; |
||||
|
import com.epmet.opendata.entity.BmGridEntity; |
||||
|
|
||||
|
|
||||
|
import java.util.List; |
||||
|
import java.util.Map; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
public interface BmGridService extends BaseService<BmGridEntity> { |
||||
|
|
||||
|
/** |
||||
|
* 默认分页 |
||||
|
* |
||||
|
* @param params |
||||
|
* @return PageData<BmGridDTO> |
||||
|
* @author generator |
||||
|
* @date 2022-06-14 |
||||
|
*/ |
||||
|
PageData<BmGridDTO> page(Map<String, Object> params); |
||||
|
|
||||
|
/** |
||||
|
* 默认查询 |
||||
|
* |
||||
|
* @param params |
||||
|
* @return java.util.List<BmGridDTO> |
||||
|
* @author generator |
||||
|
* @date 2022-06-14 |
||||
|
*/ |
||||
|
List<BmGridDTO> list(Map<String, Object> params); |
||||
|
|
||||
|
/** |
||||
|
* 单条查询 |
||||
|
* |
||||
|
* @param id |
||||
|
* @return BmGridDTO |
||||
|
* @author generator |
||||
|
* @date 2022-06-14 |
||||
|
*/ |
||||
|
BmGridDTO get(String id); |
||||
|
|
||||
|
/** |
||||
|
* 默认保存 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return void |
||||
|
* @author generator |
||||
|
* @date 2022-06-14 |
||||
|
*/ |
||||
|
void save(BmGridDTO dto); |
||||
|
|
||||
|
/** |
||||
|
* 默认更新 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return void |
||||
|
* @author generator |
||||
|
* @date 2022-06-14 |
||||
|
*/ |
||||
|
void update(BmGridDTO dto); |
||||
|
|
||||
|
/** |
||||
|
* 批量删除 |
||||
|
* |
||||
|
* @param ids |
||||
|
* @return void |
||||
|
* @author generator |
||||
|
* @date 2022-06-14 |
||||
|
*/ |
||||
|
void delete(String[] ids); |
||||
|
|
||||
|
|
||||
|
} |
||||
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue