235 changed files with 13711 additions and 282 deletions
@ -0,0 +1,34 @@ |
|||||
|
package com.epmet.commons.tools.utils; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.LinkedHashMap; |
||||
|
import java.util.List; |
||||
|
import java.util.Map; |
||||
|
|
||||
|
public class LouDongTreeNodeUtils { |
||||
|
|
||||
|
/** |
||||
|
* 构建树节点 |
||||
|
*/ |
||||
|
public static <T extends LoudongTreeNode> List<T> build(List<T> treeNodes) { |
||||
|
List<T> result = new ArrayList<>(); |
||||
|
|
||||
|
//list转map
|
||||
|
Map<String, T> nodeMap = new LinkedHashMap<>(treeNodes.size()); |
||||
|
for(T treeNode : treeNodes){ |
||||
|
nodeMap.put(treeNode.getId(), treeNode); |
||||
|
} |
||||
|
|
||||
|
for(T node : nodeMap.values()) { |
||||
|
T parent = nodeMap.get(node.getPid()); |
||||
|
if(parent != null && !(node.getId().equals(parent.getId()))){ |
||||
|
parent.getChildren().add(node); |
||||
|
continue; |
||||
|
} |
||||
|
|
||||
|
result.add(node); |
||||
|
} |
||||
|
|
||||
|
return result; |
||||
|
} |
||||
|
} |
@ -0,0 +1,48 @@ |
|||||
|
package com.epmet.commons.tools.utils; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
public class LoudongTreeNode<T> implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
/** |
||||
|
* 主键 |
||||
|
*/ |
||||
|
private String id; |
||||
|
/** |
||||
|
* 上级ID |
||||
|
*/ |
||||
|
private String pid; |
||||
|
/** |
||||
|
* 子节点列表 |
||||
|
*/ |
||||
|
private List<T> children = new ArrayList<>(); |
||||
|
|
||||
|
|
||||
|
|
||||
|
public String getId() { |
||||
|
return id; |
||||
|
} |
||||
|
|
||||
|
public void setId(String id) { |
||||
|
this.id = id; |
||||
|
} |
||||
|
|
||||
|
public String getPid() { |
||||
|
return pid; |
||||
|
} |
||||
|
|
||||
|
public void setPid(String pid) { |
||||
|
this.pid = pid; |
||||
|
} |
||||
|
|
||||
|
public List<T> getChildren() { |
||||
|
return children; |
||||
|
} |
||||
|
|
||||
|
public void setChildren(List<T> children) { |
||||
|
this.children = children; |
||||
|
} |
||||
|
} |
Binary file not shown.
@ -0,0 +1,129 @@ |
|||||
|
package com.epmet.opendata.dto.ca; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 多级类型信息表 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-16 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CaBmCategoryDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 类别ID |
||||
|
*/ |
||||
|
private Long categoryId; |
||||
|
|
||||
|
/** |
||||
|
* 名称 |
||||
|
*/ |
||||
|
private String categoryName; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String categoryType; |
||||
|
|
||||
|
/** |
||||
|
* 名称值 |
||||
|
*/ |
||||
|
private String categoryValue; |
||||
|
|
||||
|
/** |
||||
|
* 父类别ID |
||||
|
*/ |
||||
|
private Long parentCategoryId; |
||||
|
|
||||
|
/** |
||||
|
* 展示顺序 |
||||
|
*/ |
||||
|
private Integer categorySort; |
||||
|
|
||||
|
/** |
||||
|
* 创建人 |
||||
|
*/ |
||||
|
private Long createBy; |
||||
|
|
||||
|
/** |
||||
|
* 创建时间 |
||||
|
*/ |
||||
|
private Date createDate; |
||||
|
|
||||
|
/** |
||||
|
* 最后修改人 |
||||
|
*/ |
||||
|
private Long updateBy; |
||||
|
|
||||
|
/** |
||||
|
* 最后修改时间 |
||||
|
*/ |
||||
|
private Date updateDate; |
||||
|
|
||||
|
/** |
||||
|
* 删除状态 |
||||
|
*/ |
||||
|
private String deleteFlag; |
||||
|
|
||||
|
/** |
||||
|
* 乐观锁 |
||||
|
*/ |
||||
|
private Integer versions; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段1 |
||||
|
*/ |
||||
|
private String attribute1; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段2 |
||||
|
*/ |
||||
|
private String attribute2; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段3 |
||||
|
*/ |
||||
|
private String attribute3; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段4 |
||||
|
*/ |
||||
|
private String attribute4; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段5 |
||||
|
*/ |
||||
|
private String attribute5; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段6 |
||||
|
*/ |
||||
|
private Long attribute6; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段7 |
||||
|
*/ |
||||
|
private Long attribute7; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段8 |
||||
|
*/ |
||||
|
private Long attribute8; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段9 |
||||
|
*/ |
||||
|
private Date attribute9; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段10 |
||||
|
*/ |
||||
|
private Date attribute10; |
||||
|
|
||||
|
} |
@ -0,0 +1,79 @@ |
|||||
|
package com.epmet.opendata.dto.ca; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 字典信息表,字典值和字典组均存入此表 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-16 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CaSysDictDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 字典ID |
||||
|
*/ |
||||
|
private Long dictId; |
||||
|
|
||||
|
/** |
||||
|
* 字典值,例如:sex/F |
||||
|
*/ |
||||
|
private String dictValue; |
||||
|
|
||||
|
/** |
||||
|
* 1.字典组名称(性别)或者字典名称(女) |
||||
|
*/ |
||||
|
private String dictLabel; |
||||
|
|
||||
|
/** |
||||
|
* 字典值时存入字典的值,字典组时存null |
||||
|
*/ |
||||
|
private String dictType; |
||||
|
|
||||
|
/** |
||||
|
* 描述 |
||||
|
*/ |
||||
|
private String dictDesc; |
||||
|
|
||||
|
/** |
||||
|
* 排序 |
||||
|
*/ |
||||
|
private Integer dictSort; |
||||
|
|
||||
|
/** |
||||
|
* 创建人 |
||||
|
*/ |
||||
|
private Long createBy; |
||||
|
|
||||
|
/** |
||||
|
* 创建时间 |
||||
|
*/ |
||||
|
private Date createDate; |
||||
|
|
||||
|
/** |
||||
|
* 最后修改人 |
||||
|
*/ |
||||
|
private Long updateBy; |
||||
|
|
||||
|
/** |
||||
|
* 最后修改时间 |
||||
|
*/ |
||||
|
private Date updateDate; |
||||
|
|
||||
|
/** |
||||
|
* 字典值:normal正常,deleted正常 |
||||
|
*/ |
||||
|
private String deleteFlag; |
||||
|
|
||||
|
/** |
||||
|
* 乐观锁 |
||||
|
*/ |
||||
|
private Integer versions; |
||||
|
|
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
package com.epmet.opendata.dto.result; |
||||
|
|
||||
|
import com.epmet.commons.tools.utils.LoudongTreeNode; |
||||
|
import com.epmet.commons.tools.utils.TreeNode; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
@Data |
||||
|
public class LouDongCascadeResultDTO extends LoudongTreeNode implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -359443782589013555L; |
||||
|
|
||||
|
private String label; |
||||
|
|
||||
|
private String value; |
||||
|
|
||||
|
} |
@ -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 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,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 coordinateInfo; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String streetName; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String streetCode; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String communityName; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String communityCode; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
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 coordinateInfo; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String streetName; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String streetCode; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
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 personInCharge; |
||||
|
|
||||
|
/** |
||||
|
* 联系电话 |
||||
|
*/ |
||||
|
private String phone; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
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 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.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 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,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 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.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.UpdateGroup; |
||||
|
import com.epmet.commons.tools.validator.group.DefaultGroup; |
||||
|
|
||||
|
import com.epmet.opendata.dto.ca.CaBmCategoryDTO; |
||||
|
import com.epmet.opendata.dto.form.PreserVationFormDTO; |
||||
|
import com.epmet.opendata.excel.CaBmCategoryExcel; |
||||
|
import com.epmet.opendata.service.CaBmCategoryService; |
||||
|
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-16 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("caBmCategory") |
||||
|
public class CaBmCategoryController { |
||||
|
|
||||
|
@Autowired |
||||
|
private CaBmCategoryService caBmCategoryService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<CaBmCategoryDTO>> page(@RequestParam Map<String, Object> params) { |
||||
|
PageData<CaBmCategoryDTO> page = caBmCategoryService.page(params); |
||||
|
return new Result<PageData<CaBmCategoryDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}", method = {RequestMethod.POST, RequestMethod.GET}) |
||||
|
public Result<CaBmCategoryDTO> get(@PathVariable("id") String id) { |
||||
|
CaBmCategoryDTO data = caBmCategoryService.get(id); |
||||
|
return new Result<CaBmCategoryDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody CaBmCategoryDTO dto) { |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
caBmCategoryService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody CaBmCategoryDTO dto) { |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
caBmCategoryService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids) { |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
caBmCategoryService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<CaBmCategoryDTO> list = caBmCategoryService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, CaBmCategoryExcel.class); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi接口存储数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/2 10:02 |
||||
|
*/ |
||||
|
@PostMapping("/preserBmCategoryVation") |
||||
|
public Result getPreserBmCategoryVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
caBmCategoryService.preserBmCategoryVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
} |
@ -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.UpdateGroup; |
||||
|
import com.epmet.commons.tools.validator.group.DefaultGroup; |
||||
|
|
||||
|
import com.epmet.opendata.dto.ca.CaSysDictDTO; |
||||
|
import com.epmet.opendata.dto.form.PreserVationFormDTO; |
||||
|
import com.epmet.opendata.excel.CaSysDictExcel; |
||||
|
import com.epmet.opendata.service.CaSysDictService; |
||||
|
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-16 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("caSysDict") |
||||
|
public class CaSysDictController { |
||||
|
|
||||
|
@Autowired |
||||
|
private CaSysDictService caSysDictService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<CaSysDictDTO>> page(@RequestParam Map<String, Object> params) { |
||||
|
PageData<CaSysDictDTO> page = caSysDictService.page(params); |
||||
|
return new Result<PageData<CaSysDictDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}", method = {RequestMethod.POST, RequestMethod.GET}) |
||||
|
public Result<CaSysDictDTO> get(@PathVariable("id") String id) { |
||||
|
CaSysDictDTO data = caSysDictService.get(id); |
||||
|
return new Result<CaSysDictDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody CaSysDictDTO dto) { |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
caSysDictService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody CaSysDictDTO dto) { |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
caSysDictService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids) { |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
caSysDictService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<CaSysDictDTO> list = caSysDictService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, CaSysDictExcel.class); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi接口存储数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/2 10:02 |
||||
|
*/ |
||||
|
@PostMapping("/preserSysdictVation") |
||||
|
public Result getPreserSysdictVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
caSysDictService.preserSysdictVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
} |
@ -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.WghBaseGridExcel; |
||||
|
import com.epmet.opendata.service.WghBaseGridService; |
||||
|
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 WghBaseGridController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghBaseGridService 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, WghBaseGridExcel.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,93 @@ |
|||||
|
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.CommunityDTO; |
||||
|
import com.epmet.opendata.excel.WghCommunityExcel; |
||||
|
import com.epmet.opendata.service.WghCommunityService; |
||||
|
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 WghCommunityController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghCommunityService 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, WghCommunityExcel.class); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi接口存储社区数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 15:02 |
||||
|
*/ |
||||
|
@PostMapping("preserCommunityVation") |
||||
|
public Result getPreserCommunityVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
communityService.getPreserCommunityVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
} |
@ -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.UpdateGroup; |
||||
|
import com.epmet.commons.tools.validator.group.DefaultGroup; |
||||
|
|
||||
|
import com.epmet.opendata.dto.form.PreserVationFormDTO; |
||||
|
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); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi接口获取dywg数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 15:11 |
||||
|
*/ |
||||
|
@PostMapping("preserDywgVation") |
||||
|
public Result getPreserDywgVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
wghDywgService.getPreserDywgVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
} |
@ -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.UpdateGroup; |
||||
|
import com.epmet.commons.tools.validator.group.DefaultGroup; |
||||
|
|
||||
|
import com.epmet.opendata.dto.form.PreserVationFormDTO; |
||||
|
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); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi接口获取wgh_jdb数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 15:31 |
||||
|
*/ |
||||
|
@PostMapping("/preserWghJdbVation") |
||||
|
public Result getPreserWghJdbVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
wghJdbService.getPreserWghJdbVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,97 @@ |
|||||
|
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.form.PreserVationFormDTO; |
||||
|
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); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi接口存储wgh_jqz数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 15:39 |
||||
|
*/ |
||||
|
@PostMapping("/preserWghjqzVation") |
||||
|
public Result getPreserWghjqzVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
wghJqzService.getPreserWghjqzVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,95 @@ |
|||||
|
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.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); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi接口存储wgh_jxcs数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 15:46 |
||||
|
*/ |
||||
|
@PostMapping("/preserWghJxcsVation") |
||||
|
public Result getPreserWghJxcsVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
wghJxcsService.preserWghJxcsVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,95 @@ |
|||||
|
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.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); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi接口获取wgh_jyz数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 15:52 |
||||
|
*/ |
||||
|
@PostMapping("/preserWghJyzVation") |
||||
|
public Result getPreserWghJyzVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
wghJyzService.getPreserWghJyzVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,95 @@ |
|||||
|
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.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); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi接口获取wgh_sjxx数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 16:01 |
||||
|
*/ |
||||
|
@PostMapping("/preserSjxxVation") |
||||
|
public Result getPreserSjxxVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
wghSjxxbService.getPreserSjxxVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,95 @@ |
|||||
|
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.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); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi接口获取wgh_sqxx数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 16:08 |
||||
|
*/ |
||||
|
@PostMapping("/preserWghSqxxVation") |
||||
|
public Result getPreserWghSqxxVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
wghSqxxService.getPreserWghSqxxVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,98 @@ |
|||||
|
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.form.PreserVationFormDTO; |
||||
|
import com.epmet.opendata.dto.wgh.SubdistrictOfficeDTO; |
||||
|
|
||||
|
import com.epmet.opendata.excel.WghSubdistrictOfficeExcel; |
||||
|
import com.epmet.opendata.service.WghSubdistrictOfficeService; |
||||
|
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 WghSubdistrictOfficeController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghSubdistrictOfficeService 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, WghSubdistrictOfficeExcel.class); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi接口 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 17:36 |
||||
|
*/ |
||||
|
@PostMapping("/preserSubVation") |
||||
|
public Result getpreserSubVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
subdistrictOfficeService.getpreserSubVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,95 @@ |
|||||
|
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.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); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi系统获取wgh_szcgwgh数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 16:19 |
||||
|
*/ |
||||
|
@PostMapping("/preserWghSzcgwghVation") |
||||
|
public Result getPreserWghSzcgwghVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
wghSzcgwghService.getPreserWghSzcgwghVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,95 @@ |
|||||
|
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.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); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi接口获取wgh_szzrwg数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 16:26 |
||||
|
*/ |
||||
|
@PostMapping("/preserWghSzzrwgVation") |
||||
|
public Result getPreserWghSzzrwgVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
wghSzzrwgService.getPreserWghSzzrwgVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,95 @@ |
|||||
|
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.form.PreserVationFormDTO; |
||||
|
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); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi系统获取wgh_whpdw数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 16:33 |
||||
|
*/ |
||||
|
@PostMapping("/preserWhpdwVation") |
||||
|
public Result getPreserWhpdwVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
wghWhpdwService.getPreserWhpdwVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,95 @@ |
|||||
|
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.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); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi系统获取wgh_yjbmcs数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 16:39 |
||||
|
*/ |
||||
|
@PostMapping("/preserWghYjbmcsVation") |
||||
|
public Result getPreserWghYjbmcsVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
wghYjbmcsService.getPreserWghYjbmcsVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,94 @@ |
|||||
|
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.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); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi系统获取wgh_yqhjz数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 16:46 |
||||
|
*/ |
||||
|
@PostMapping("/preserWghYqhjzVation") |
||||
|
public Result getPreserWghYqhjzVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
wghYqhjzService.getPreserWghYqhjzVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,112 @@ |
|||||
|
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.result.LouDongCascadeResultDTO; |
||||
|
import com.epmet.opendata.dto.wgh.BmGridDTO; |
||||
|
|
||||
|
|
||||
|
import com.epmet.opendata.excel.caBmGridExcel; |
||||
|
import com.epmet.opendata.service.caBmGridService; |
||||
|
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 caBmGridController { |
||||
|
|
||||
|
@Autowired |
||||
|
private caBmGridService 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, caBmGridExcel.class); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi存储bm_grid数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/14 14:16 |
||||
|
*/ |
||||
|
@PostMapping("preserBmGridVation") |
||||
|
public Result getpreserBmGridVation(@RequestBody PreserVationFormDTO dto) { |
||||
|
bmGridService.getPreserBmGridVation(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 获取级联菜单 |
||||
|
* |
||||
|
* @param |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/6/15 14:01 |
||||
|
*/ |
||||
|
@PostMapping("getCascadeMenu") |
||||
|
public Result getCascadeMenu(){ |
||||
|
List<LouDongCascadeResultDTO> dto = bmGridService.getCascadeMenu(); |
||||
|
return new Result().ok(dto); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
|
||||
|
import com.epmet.opendata.entity.CaBmCategoryEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* 多级类型信息表 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-16 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface CaBmCategoryDao extends BaseDao<CaBmCategoryEntity> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
|
||||
|
import com.epmet.opendata.entity.CaSysDictEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* 字典信息表,字典值和字典组均存入此表 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-16 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface CaSysDictDao extends BaseDao<CaSysDictEntity> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
|
||||
|
import com.epmet.opendata.entity.WghBaseGridEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghBaseGridDao extends BaseDao<WghBaseGridEntity> { |
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,19 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
|
||||
|
|
||||
|
import com.epmet.opendata.entity.WghCommunityEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghCommunityDao extends BaseDao<WghCommunityEntity> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
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> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
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> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
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> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
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> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
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> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
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> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
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> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,19 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
|
||||
|
|
||||
|
import com.epmet.opendata.entity.WghSubdistrictOfficeEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghSubdistrictOfficeDao extends BaseDao<WghSubdistrictOfficeEntity> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
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> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
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> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
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> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
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> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
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> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
|
||||
|
|
||||
|
import com.epmet.opendata.dto.result.LouDongCascadeResultDTO; |
||||
|
import com.epmet.opendata.entity.caBmGridEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-06-14 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface caBmGridDao extends BaseDao<caBmGridEntity> { |
||||
|
|
||||
|
int deleteAll(); |
||||
|
|
||||
|
List<LouDongCascadeResultDTO> getCascadeMenu(); |
||||
|
} |
@ -0,0 +1,134 @@ |
|||||
|
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-16 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("ca_bm_category") |
||||
|
public class CaBmCategoryEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 类别ID |
||||
|
*/ |
||||
|
private Long categoryId; |
||||
|
|
||||
|
/** |
||||
|
* 名称 |
||||
|
*/ |
||||
|
private String categoryName; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String categoryType; |
||||
|
|
||||
|
/** |
||||
|
* 名称值 |
||||
|
*/ |
||||
|
private String categoryValue; |
||||
|
|
||||
|
/** |
||||
|
* 父类别ID |
||||
|
*/ |
||||
|
private Long parentCategoryId; |
||||
|
|
||||
|
/** |
||||
|
* 展示顺序 |
||||
|
*/ |
||||
|
private Integer categorySort; |
||||
|
|
||||
|
/** |
||||
|
* 创建人 |
||||
|
*/ |
||||
|
private Long createBy; |
||||
|
|
||||
|
/** |
||||
|
* 创建时间 |
||||
|
*/ |
||||
|
private Date createDate; |
||||
|
|
||||
|
/** |
||||
|
* 最后修改人 |
||||
|
*/ |
||||
|
private Long updateBy; |
||||
|
|
||||
|
/** |
||||
|
* 最后修改时间 |
||||
|
*/ |
||||
|
private Date updateDate; |
||||
|
|
||||
|
/** |
||||
|
* 删除状态 |
||||
|
*/ |
||||
|
private String deleteFlag; |
||||
|
|
||||
|
/** |
||||
|
* 乐观锁 |
||||
|
*/ |
||||
|
private Integer versions; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段1 |
||||
|
*/ |
||||
|
private String attribute1; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段2 |
||||
|
*/ |
||||
|
private String attribute2; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段3 |
||||
|
*/ |
||||
|
private String attribute3; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段4 |
||||
|
*/ |
||||
|
private String attribute4; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段5 |
||||
|
*/ |
||||
|
private String attribute5; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段6 |
||||
|
*/ |
||||
|
private Long attribute6; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段7 |
||||
|
*/ |
||||
|
private Long attribute7; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段8 |
||||
|
*/ |
||||
|
private Long attribute8; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段9 |
||||
|
*/ |
||||
|
private Date attribute9; |
||||
|
|
||||
|
/** |
||||
|
* 扩展字段10 |
||||
|
*/ |
||||
|
private Date attribute10; |
||||
|
|
||||
|
} |
@ -0,0 +1,84 @@ |
|||||
|
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-16 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("ca_sys_dict") |
||||
|
public class CaSysDictEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 字典ID |
||||
|
*/ |
||||
|
private Long dictId; |
||||
|
|
||||
|
/** |
||||
|
* 字典值,例如:sex/F |
||||
|
*/ |
||||
|
private String dictValue; |
||||
|
|
||||
|
/** |
||||
|
* 1.字典组名称(性别)或者字典名称(女) |
||||
|
*/ |
||||
|
private String dictLabel; |
||||
|
|
||||
|
/** |
||||
|
* 字典值时存入字典的值,字典组时存null |
||||
|
*/ |
||||
|
private String dictType; |
||||
|
|
||||
|
/** |
||||
|
* 描述 |
||||
|
*/ |
||||
|
private String dictDesc; |
||||
|
|
||||
|
/** |
||||
|
* 排序 |
||||
|
*/ |
||||
|
private Integer dictSort; |
||||
|
|
||||
|
/** |
||||
|
* 创建人 |
||||
|
*/ |
||||
|
private Long createBy; |
||||
|
|
||||
|
/** |
||||
|
* 创建时间 |
||||
|
*/ |
||||
|
private Date createDate; |
||||
|
|
||||
|
/** |
||||
|
* 最后修改人 |
||||
|
*/ |
||||
|
private Long updateBy; |
||||
|
|
||||
|
/** |
||||
|
* 最后修改时间 |
||||
|
*/ |
||||
|
private Date updateDate; |
||||
|
|
||||
|
/** |
||||
|
* 字典值:normal正常,deleted正常 |
||||
|
*/ |
||||
|
private String deleteFlag; |
||||
|
|
||||
|
/** |
||||
|
* 乐观锁 |
||||
|
*/ |
||||
|
private Integer versions; |
||||
|
|
||||
|
} |
@ -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("wgh_base_grid") |
||||
|
public class WghBaseGridEntity { |
||||
|
|
||||
|
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,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_community") |
||||
|
public class WghCommunityEntity { |
||||
|
|
||||
|
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,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 { |
||||
|
|
||||
|
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 { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String objectid_1; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
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 { |
||||
|
|
||||
|
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 { |
||||
|
|
||||
|
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 { |
||||
|
|
||||
|
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; |
||||
|
|
||||
|
} |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue