178 changed files with 6190 additions and 149 deletions
@ -0,0 +1,60 @@ |
|||||
|
package com.epmet.commons.rocketmq.messages; |
||||
|
|
||||
|
import com.epmet.commons.tools.dto.form.mq.MqBaseFormDTO; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* user库党员信息同步到partymember库的mq消息 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class PartymemberSyncMQMsg extends MqBaseFormDTO { |
||||
|
|
||||
|
/** |
||||
|
* 党员列表,允许一次传输多个党员信息 |
||||
|
*/ |
||||
|
private List<PartyMemberSyncForm> partymemberList = new ArrayList<>(); |
||||
|
|
||||
|
@Data |
||||
|
public static class PartyMemberSyncForm { |
||||
|
|
||||
|
private String customerId; |
||||
|
private String agencyId; |
||||
|
private String agencyPids; |
||||
|
private String icResiUser; |
||||
|
private String name; |
||||
|
private String idCard; |
||||
|
private String mobile; |
||||
|
private String address; |
||||
|
private String rdsj; |
||||
|
private String sszb; |
||||
|
/** |
||||
|
* 是否流动党员 |
||||
|
*/ |
||||
|
private String isLd; |
||||
|
|
||||
|
/** |
||||
|
* 流动党员活动证号 |
||||
|
*/ |
||||
|
private String ldzh; |
||||
|
/** |
||||
|
* 职务 |
||||
|
*/ |
||||
|
private String partyZw; |
||||
|
/** |
||||
|
* 是否退休 |
||||
|
*/ |
||||
|
private String isTx; |
||||
|
/** |
||||
|
* 是否党员中心户 |
||||
|
*/ |
||||
|
private String isDyzxh; |
||||
|
/** |
||||
|
* 志愿者类型,逗号隔开 |
||||
|
*/ |
||||
|
private String volunteerCategory; |
||||
|
|
||||
|
} |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
|
||||
|
<!-- |
||||
|
Base logback configuration provided for compatibility with Spring Boot 1.1 |
||||
|
从spring/logging包复制过来的,主要是屏蔽了/tmp/spring.log文件的生成(与我们自定义的重复,且不会滚动更新)。其他服务都改用引用此文件。 |
||||
|
--> |
||||
|
|
||||
|
<included> |
||||
|
<include resource="org/springframework/boot/logging/logback/defaults.xml" /> |
||||
|
<!--<property name="LOG_FILE" value="${LOG_FILE:-${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/tmp}}}/spring.log}"/>--> |
||||
|
<include resource="org/springframework/boot/logging/logback/console-appender.xml" /> |
||||
|
<include resource="org/springframework/boot/logging/logback/file-appender.xml" /> |
||||
|
<root level="INFO"> |
||||
|
<appender-ref ref="CONSOLE" /> |
||||
|
<appender-ref ref="FILE" /> |
||||
|
</root> |
||||
|
</included> |
@ -0,0 +1,41 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description 社区所属组织基本信息 |
||||
|
* @Author wgf |
||||
|
* @Date 2020/4/26 22:35 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CommunityInfoResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 4360690752084258055L; |
||||
|
|
||||
|
/** |
||||
|
* 客户ID |
||||
|
*/ |
||||
|
private String customerId; |
||||
|
|
||||
|
/** |
||||
|
* 社区组织ID |
||||
|
*/ |
||||
|
private String deptId; |
||||
|
|
||||
|
/** |
||||
|
* 社区名称 |
||||
|
*/ |
||||
|
private String deptName; |
||||
|
|
||||
|
/** |
||||
|
* 网格的上级组织 |
||||
|
*/ |
||||
|
private String pid; |
||||
|
|
||||
|
/** |
||||
|
* 网格的所有上级组织 |
||||
|
*/ |
||||
|
private String pids; |
||||
|
} |
||||
|
|
@ -0,0 +1,34 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
|
||||
|
import com.epmet.commons.tools.utils.NodeTree; |
||||
|
import lombok.AllArgsConstructor; |
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
@Data |
||||
|
@NoArgsConstructor |
||||
|
@AllArgsConstructor |
||||
|
public class OrgListTreeResultDTO extends NodeTree implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -1993037593855768962L; |
||||
|
|
||||
|
/** |
||||
|
* 父id |
||||
|
*/ |
||||
|
private String pid; |
||||
|
|
||||
|
/** |
||||
|
* 名字 |
||||
|
*/ |
||||
|
private String label; |
||||
|
|
||||
|
/** |
||||
|
* 值 |
||||
|
*/ |
||||
|
private String value; |
||||
|
|
||||
|
} |
Binary file not shown.
@ -0,0 +1,35 @@ |
|||||
|
package com.epmet.opendata.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
@Data |
||||
|
public class NewWghSjxxFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -4846956644682609996L; |
||||
|
|
||||
|
/** |
||||
|
* 网格员名称 |
||||
|
*/ |
||||
|
private String wgymc; |
||||
|
|
||||
|
/** |
||||
|
* 街道标签 |
||||
|
*/ |
||||
|
private String ssjdbq; |
||||
|
|
||||
|
/** |
||||
|
* 社区标签 |
||||
|
*/ |
||||
|
private String sssqbq; |
||||
|
|
||||
|
/** |
||||
|
* 核查意见 |
||||
|
*/ |
||||
|
private String hcyj; |
||||
|
|
||||
|
private Integer page; |
||||
|
|
||||
|
private Integer limit; |
||||
|
} |
@ -0,0 +1,13 @@ |
|||||
|
package com.epmet.opendata.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
@Data |
||||
|
public class WghSjxxDetailFormDto implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 3053467128163250132L; |
||||
|
|
||||
|
private Integer recid; |
||||
|
} |
@ -0,0 +1,37 @@ |
|||||
|
package com.epmet.opendata.dto.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.dto.form.PageFormDTO; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.net.Inet4Address; |
||||
|
|
||||
|
@Data |
||||
|
public class WghSjxxFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 3208547934202974728L; |
||||
|
|
||||
|
/** |
||||
|
* 事件来源 |
||||
|
*/ |
||||
|
private String infosourcename; |
||||
|
|
||||
|
/** |
||||
|
* 事件类别 |
||||
|
*/ |
||||
|
private String infotypename; |
||||
|
|
||||
|
/** |
||||
|
* 社区名称 |
||||
|
*/ |
||||
|
private String communityname; |
||||
|
|
||||
|
/** |
||||
|
* 事件状态 |
||||
|
*/ |
||||
|
private String statusname; |
||||
|
|
||||
|
private Integer page; |
||||
|
|
||||
|
private Integer limit; |
||||
|
} |
@ -0,0 +1,16 @@ |
|||||
|
package com.epmet.opendata.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
@Data |
||||
|
public class WghSjxxbDetailFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -7558785082629887627L; |
||||
|
|
||||
|
/** |
||||
|
* 唯一id |
||||
|
*/ |
||||
|
private String taskid; |
||||
|
} |
@ -0,0 +1,48 @@ |
|||||
|
package com.epmet.opendata.dto.result; |
||||
|
|
||||
|
import com.epmet.commons.tools.dto.form.PageFormDTO; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
@Data |
||||
|
public class NewWghSjxxResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -4088593179578850358L; |
||||
|
|
||||
|
/** |
||||
|
* 网格员标签 |
||||
|
*/ |
||||
|
private String wgymc; |
||||
|
|
||||
|
/** |
||||
|
* 所属街道标签 |
||||
|
*/ |
||||
|
private String ssjdbq; |
||||
|
|
||||
|
/** |
||||
|
* 所属社区标签 |
||||
|
*/ |
||||
|
private String sssqbq; |
||||
|
|
||||
|
/** |
||||
|
* 核查意见 |
||||
|
*/ |
||||
|
private String hcyj; |
||||
|
|
||||
|
/** |
||||
|
* 核查时间 |
||||
|
*/ |
||||
|
private Date hcsj; |
||||
|
|
||||
|
/** |
||||
|
* 事件描述 |
||||
|
*/ |
||||
|
private String sjms; |
||||
|
|
||||
|
/** |
||||
|
* 唯一标识 |
||||
|
*/ |
||||
|
private Integer recid; |
||||
|
} |
@ -0,0 +1,52 @@ |
|||||
|
package com.epmet.opendata.dto.result; |
||||
|
|
||||
|
import com.epmet.commons.tools.dto.form.PageFormDTO; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
@Data |
||||
|
public class WghSjxxResultDTO extends PageFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -5318466282262952340L; |
||||
|
|
||||
|
/** |
||||
|
* 事件来源 |
||||
|
*/ |
||||
|
private String infosourcename; |
||||
|
|
||||
|
/** |
||||
|
* 事件类别 |
||||
|
*/ |
||||
|
private String infotypename; |
||||
|
|
||||
|
/** |
||||
|
* 社区名称 |
||||
|
*/ |
||||
|
private String communityname; |
||||
|
|
||||
|
/** |
||||
|
* 事见描述 |
||||
|
*/ |
||||
|
private String description; |
||||
|
|
||||
|
/** |
||||
|
* 事见地址 |
||||
|
*/ |
||||
|
private String address; |
||||
|
|
||||
|
/** |
||||
|
* 事见状态 |
||||
|
*/ |
||||
|
private String statusname; |
||||
|
|
||||
|
/** |
||||
|
* 街道名称 |
||||
|
*/ |
||||
|
private String streetname; |
||||
|
|
||||
|
/** |
||||
|
* 唯一id |
||||
|
*/ |
||||
|
private String taskid; |
||||
|
} |
@ -0,0 +1,46 @@ |
|||||
|
package com.epmet.opendata.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
@Data |
||||
|
public class WghSjxxbDetailResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 8965818800454155651L; |
||||
|
|
||||
|
/** |
||||
|
* 事件来源 |
||||
|
*/ |
||||
|
private String infosourcename; |
||||
|
|
||||
|
/** |
||||
|
* 事件类别 |
||||
|
*/ |
||||
|
private String infotypename; |
||||
|
|
||||
|
/** |
||||
|
* 社区名称 |
||||
|
*/ |
||||
|
private String communityname; |
||||
|
|
||||
|
/** |
||||
|
* 事见描述 |
||||
|
*/ |
||||
|
private String description; |
||||
|
|
||||
|
/** |
||||
|
* 事见地址 |
||||
|
*/ |
||||
|
private String address; |
||||
|
|
||||
|
/** |
||||
|
* 事见状态 |
||||
|
*/ |
||||
|
private String statusname; |
||||
|
|
||||
|
/** |
||||
|
* 街道名称 |
||||
|
*/ |
||||
|
private String streetname; |
||||
|
} |
@ -0,0 +1,330 @@ |
|||||
|
package com.epmet.opendata.dto.wgh; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* 事件信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-07-05 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghSjxxDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 案卷标识 |
||||
|
*/ |
||||
|
private Integer recid; |
||||
|
|
||||
|
/** |
||||
|
* 事件编号 |
||||
|
*/ |
||||
|
private String sjbh; |
||||
|
|
||||
|
/** |
||||
|
* 事件领域 |
||||
|
*/ |
||||
|
private String sjlyu; |
||||
|
|
||||
|
/** |
||||
|
* 事件大类 |
||||
|
*/ |
||||
|
private String sjdl; |
||||
|
|
||||
|
/** |
||||
|
* 事件小类 |
||||
|
*/ |
||||
|
private String sjxl; |
||||
|
|
||||
|
/** |
||||
|
* 事件细类 |
||||
|
*/ |
||||
|
private String sjxil; |
||||
|
|
||||
|
/** |
||||
|
* 事件来源 |
||||
|
*/ |
||||
|
private String sjly; |
||||
|
|
||||
|
/** |
||||
|
* 所属区/市 |
||||
|
*/ |
||||
|
private String ssqs; |
||||
|
|
||||
|
/** |
||||
|
* 所属街道 |
||||
|
*/ |
||||
|
private String ssjd; |
||||
|
|
||||
|
/** |
||||
|
* 所属社区 |
||||
|
*/ |
||||
|
private String sssq; |
||||
|
|
||||
|
/** |
||||
|
* 事件地址 |
||||
|
*/ |
||||
|
private String sjdz; |
||||
|
|
||||
|
/** |
||||
|
* 事件描述 |
||||
|
*/ |
||||
|
private String sjms; |
||||
|
|
||||
|
/** |
||||
|
* 网格员标识 |
||||
|
*/ |
||||
|
private String wgybs; |
||||
|
|
||||
|
/** |
||||
|
* 网格员名称 |
||||
|
*/ |
||||
|
private String wgymc; |
||||
|
|
||||
|
/** |
||||
|
* 所属部门 |
||||
|
*/ |
||||
|
private String ssbm; |
||||
|
|
||||
|
/** |
||||
|
* X坐标 |
||||
|
*/ |
||||
|
private BigDecimal xzb; |
||||
|
|
||||
|
/** |
||||
|
* Y坐标 |
||||
|
*/ |
||||
|
private BigDecimal yzb; |
||||
|
|
||||
|
/** |
||||
|
* 核实意见 |
||||
|
*/ |
||||
|
private String hsyj; |
||||
|
|
||||
|
/** |
||||
|
* 创建日期 |
||||
|
*/ |
||||
|
private Date createdate; |
||||
|
|
||||
|
/** |
||||
|
* 事件领域标签 |
||||
|
*/ |
||||
|
private String sjlyubq; |
||||
|
|
||||
|
/** |
||||
|
* 事件大类标签 |
||||
|
*/ |
||||
|
private String sjdlbq; |
||||
|
|
||||
|
/** |
||||
|
* 事件小类标签 |
||||
|
*/ |
||||
|
private String sjxlbq; |
||||
|
|
||||
|
/** |
||||
|
* 事件细类标签 |
||||
|
*/ |
||||
|
private String sjxilbq; |
||||
|
|
||||
|
/** |
||||
|
* 所属区/市标签 |
||||
|
*/ |
||||
|
private String ssqsbq; |
||||
|
|
||||
|
/** |
||||
|
* 所属街道标签 |
||||
|
*/ |
||||
|
private String ssjdbq; |
||||
|
|
||||
|
/** |
||||
|
* 所属社区标签 |
||||
|
*/ |
||||
|
private String sssqbq; |
||||
|
|
||||
|
/** |
||||
|
* 事件上报 |
||||
|
*/ |
||||
|
private String sjsbwj; |
||||
|
|
||||
|
/** |
||||
|
* 事件核实 |
||||
|
*/ |
||||
|
private String sjhswj; |
||||
|
|
||||
|
/** |
||||
|
* 事件处置 |
||||
|
*/ |
||||
|
private String sjczwj; |
||||
|
|
||||
|
/** |
||||
|
* 事件核查 |
||||
|
*/ |
||||
|
private String sjhcwj; |
||||
|
|
||||
|
/** |
||||
|
* 外系统唯一标识 |
||||
|
*/ |
||||
|
private String wxtwybs; |
||||
|
|
||||
|
/** |
||||
|
* 缩略图 |
||||
|
*/ |
||||
|
private String slt; |
||||
|
|
||||
|
/** |
||||
|
* 处置单位 |
||||
|
*/ |
||||
|
private Integer czdw; |
||||
|
|
||||
|
/** |
||||
|
* 处置结果 |
||||
|
*/ |
||||
|
private String czjg; |
||||
|
|
||||
|
/** |
||||
|
* 处置单位标签 |
||||
|
*/ |
||||
|
private String czdwbq; |
||||
|
|
||||
|
/** |
||||
|
* 是否退单 |
||||
|
*/ |
||||
|
private Integer sftd; |
||||
|
|
||||
|
/** |
||||
|
* 是否延期 |
||||
|
*/ |
||||
|
private Integer sfyq; |
||||
|
|
||||
|
/** |
||||
|
* 核查意见 |
||||
|
*/ |
||||
|
private String hcyj; |
||||
|
|
||||
|
/** |
||||
|
* 是否作废 |
||||
|
*/ |
||||
|
private Integer sfzf; |
||||
|
|
||||
|
/** |
||||
|
* 是否已核实 |
||||
|
*/ |
||||
|
private Integer sfyhs; |
||||
|
|
||||
|
/** |
||||
|
* 是否已核查 |
||||
|
*/ |
||||
|
private Integer sfyhc; |
||||
|
|
||||
|
/** |
||||
|
* 是否已督办 |
||||
|
*/ |
||||
|
private Integer sfydb; |
||||
|
|
||||
|
/** |
||||
|
* 专项任务标识 |
||||
|
*/ |
||||
|
private Integer zxrwbs; |
||||
|
|
||||
|
/** |
||||
|
* 待确责 |
||||
|
*/ |
||||
|
private Integer dqz; |
||||
|
|
||||
|
/** |
||||
|
* 熔断状态 |
||||
|
*/ |
||||
|
private Integer rdzt; |
||||
|
|
||||
|
/** |
||||
|
* 事件来源标签 |
||||
|
*/ |
||||
|
private String sjlybq; |
||||
|
|
||||
|
/** |
||||
|
* 应办结时间 |
||||
|
*/ |
||||
|
private Date ybjsj; |
||||
|
|
||||
|
/** |
||||
|
* 接收部门标识 |
||||
|
*/ |
||||
|
private Integer jsbmbs; |
||||
|
|
||||
|
/** |
||||
|
* 核实人员标识 |
||||
|
*/ |
||||
|
private Integer hsrybs; |
||||
|
|
||||
|
/** |
||||
|
* 核查人员标识 |
||||
|
*/ |
||||
|
private Integer hcrybs; |
||||
|
|
||||
|
/** |
||||
|
* 处置人员标识 |
||||
|
*/ |
||||
|
private Integer czrybs; |
||||
|
|
||||
|
/** |
||||
|
* 是否已处置 |
||||
|
*/ |
||||
|
private Integer sfycz; |
||||
|
|
||||
|
/** |
||||
|
* 核实时间 |
||||
|
*/ |
||||
|
private Date hssj; |
||||
|
|
||||
|
/** |
||||
|
* 核查时间 |
||||
|
*/ |
||||
|
private Date hcsj; |
||||
|
|
||||
|
/** |
||||
|
* 处置时间 |
||||
|
*/ |
||||
|
private Date czsj; |
||||
|
|
||||
|
/** |
||||
|
* 是否自发自处 |
||||
|
*/ |
||||
|
private Integer sfzfzc; |
||||
|
|
||||
|
/** |
||||
|
* 核查用时 |
||||
|
*/ |
||||
|
private BigDecimal hcys; |
||||
|
|
||||
|
/** |
||||
|
* 诉求联系人 |
||||
|
*/ |
||||
|
private String sqlxr; |
||||
|
|
||||
|
/** |
||||
|
* 僵尸车 |
||||
|
*/ |
||||
|
private Integer jsc; |
||||
|
|
||||
|
/** |
||||
|
* 到期时间 |
||||
|
*/ |
||||
|
private Date dqsj; |
||||
|
|
||||
|
/** |
||||
|
* 星级评定 |
||||
|
*/ |
||||
|
private Integer xjpd; |
||||
|
|
||||
|
/** |
||||
|
* 所属网格 |
||||
|
*/ |
||||
|
private String sswg; |
||||
|
|
||||
|
} |
@ -0,0 +1,130 @@ |
|||||
|
package com.epmet.opendata.controller; |
||||
|
|
||||
|
import com.epmet.commons.tools.annotation.LoginUser; |
||||
|
import com.epmet.commons.tools.aop.NoRepeatSubmit; |
||||
|
import com.epmet.commons.tools.page.PageData; |
||||
|
import com.epmet.commons.tools.security.dto.TokenDto; |
||||
|
import com.epmet.commons.tools.utils.ExcelUtils; |
||||
|
import com.epmet.commons.tools.utils.Result; |
||||
|
import com.epmet.commons.tools.validator.AssertUtils; |
||||
|
import com.epmet.commons.tools.validator.ValidatorUtils; |
||||
|
import com.epmet.commons.tools.validator.group.AddGroup; |
||||
|
import com.epmet.commons.tools.validator.group.UpdateGroup; |
||||
|
import com.epmet.commons.tools.validator.group.DefaultGroup; |
||||
|
|
||||
|
import com.epmet.opendata.dto.form.NewWghSjxxFormDTO; |
||||
|
import com.epmet.opendata.dto.form.PreserVationFormDTO; |
||||
|
import com.epmet.opendata.dto.form.WghSjxxDetailFormDto; |
||||
|
import com.epmet.opendata.dto.result.NewWghSjxxResultDTO; |
||||
|
import com.epmet.opendata.dto.result.WghSjxxResultDTO; |
||||
|
import com.epmet.opendata.dto.wgh.WghSjxxDTO; |
||||
|
import com.epmet.opendata.excel.WghSjxxExcel; |
||||
|
import com.epmet.opendata.service.WghSjxxService; |
||||
|
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-07-05 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("wghSjxx") |
||||
|
public class WghSjxxController { |
||||
|
|
||||
|
@Autowired |
||||
|
private WghSjxxService wghSjxxService; |
||||
|
|
||||
|
@RequestMapping("page") |
||||
|
public Result<PageData<WghSjxxDTO>> page(@RequestParam Map<String, Object> params) { |
||||
|
PageData<WghSjxxDTO> page = wghSjxxService.page(params); |
||||
|
return new Result<PageData<WghSjxxDTO>>().ok(page); |
||||
|
} |
||||
|
|
||||
|
@RequestMapping(value = "{id}", method = {RequestMethod.POST, RequestMethod.GET}) |
||||
|
public Result<WghSjxxDTO> get(@PathVariable("id") String id) { |
||||
|
WghSjxxDTO data = wghSjxxService.get(id); |
||||
|
return new Result<WghSjxxDTO>().ok(data); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("save") |
||||
|
public Result save(@RequestBody WghSjxxDTO dto) { |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
||||
|
wghSjxxService.save(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@NoRepeatSubmit |
||||
|
@PostMapping("update") |
||||
|
public Result update(@RequestBody WghSjxxDTO dto) { |
||||
|
//效验数据
|
||||
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
||||
|
wghSjxxService.update(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@PostMapping("delete") |
||||
|
public Result delete(@RequestBody String[] ids) { |
||||
|
//效验数据
|
||||
|
AssertUtils.isArrayEmpty(ids, "id"); |
||||
|
wghSjxxService.delete(ids); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
@GetMapping("export") |
||||
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
||||
|
List<WghSjxxDTO> list = wghSjxxService.list(params); |
||||
|
ExcelUtils.exportExcelToTarget(response, null, list, WghSjxxExcel.class); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi接口获取wgh_sjxxb数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/7/5 14:17 |
||||
|
*/ |
||||
|
@PostMapping("/wgh/getWghSjxx") |
||||
|
public Result getWghSjxx(@RequestBody PreserVationFormDTO dto) { |
||||
|
wghSjxxService.getWghSjxx(dto); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 新的事件信息分页 |
||||
|
* |
||||
|
* @param form |
||||
|
* @param tokenDto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/7/5 15:48 |
||||
|
*/ |
||||
|
@PostMapping("todo/wghSjxxPage") |
||||
|
public Result getWghSjxxPage(@RequestBody NewWghSjxxFormDTO form, @LoginUser TokenDto tokenDto) { |
||||
|
PageData<NewWghSjxxResultDTO> dto = wghSjxxService.getWghSjxxPage(form); |
||||
|
return new Result<PageData<NewWghSjxxResultDTO>>().ok(dto); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 查询事件信息详情 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.commons.tools.utils.Result |
||||
|
* @author LZN |
||||
|
* @date 2022/7/5 16:14 |
||||
|
*/ |
||||
|
@PostMapping("getWghSjxxDetail") |
||||
|
public Result getWghSjxxDetail(@RequestBody WghSjxxDetailFormDto dto){ |
||||
|
NewWghSjxxResultDTO result = wghSjxxService.getWghSjxxDetail(dto); |
||||
|
return new Result().ok(result); |
||||
|
} |
||||
|
} |
@ -0,0 +1,52 @@ |
|||||
|
package com.epmet.opendata.dao; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
|
||||
|
import com.epmet.opendata.dto.form.NewWghSjxxFormDTO; |
||||
|
import com.epmet.opendata.dto.form.WghSjxxDetailFormDto; |
||||
|
import com.epmet.opendata.dto.result.NewWghSjxxResultDTO; |
||||
|
import com.epmet.opendata.entity.WghSjxxEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* 事件信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-07-05 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface WghSjxxDao extends BaseDao<WghSjxxEntity> { |
||||
|
|
||||
|
/** |
||||
|
* 全量删除 |
||||
|
* |
||||
|
* @param |
||||
|
* @return int |
||||
|
* @author LZN |
||||
|
* @date 2022/7/5 14:18 |
||||
|
*/ |
||||
|
int deleteAll(); |
||||
|
|
||||
|
/** |
||||
|
* 新的事件信息分页 |
||||
|
* |
||||
|
* @param form |
||||
|
* @return java.util.List<com.epmet.opendata.dto.result.NewWghSjxxResultDTO> |
||||
|
* @author LZN |
||||
|
* @date 2022/7/5 15:49 |
||||
|
*/ |
||||
|
List<NewWghSjxxResultDTO> getWghSjxxPage(@Param("form") NewWghSjxxFormDTO form); |
||||
|
|
||||
|
/** |
||||
|
* 查询事件信息详情 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.opendata.dto.result.NewWghSjxxResultDTO |
||||
|
* @author LZN |
||||
|
* @date 2022/7/5 16:15 |
||||
|
*/ |
||||
|
NewWghSjxxResultDTO getWghSjxxDetail(@Param("dto") WghSjxxDetailFormDto dto); |
||||
|
} |
@ -0,0 +1,335 @@ |
|||||
|
package com.epmet.opendata.entity; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; |
||||
|
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
/** |
||||
|
* 事件信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-07-05 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("wgh_sjxx") |
||||
|
public class WghSjxxEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 案卷标识 |
||||
|
*/ |
||||
|
private Integer recid; |
||||
|
|
||||
|
/** |
||||
|
* 事件编号 |
||||
|
*/ |
||||
|
private String sjbh; |
||||
|
|
||||
|
/** |
||||
|
* 事件领域 |
||||
|
*/ |
||||
|
private String sjlyu; |
||||
|
|
||||
|
/** |
||||
|
* 事件大类 |
||||
|
*/ |
||||
|
private String sjdl; |
||||
|
|
||||
|
/** |
||||
|
* 事件小类 |
||||
|
*/ |
||||
|
private String sjxl; |
||||
|
|
||||
|
/** |
||||
|
* 事件细类 |
||||
|
*/ |
||||
|
private String sjxil; |
||||
|
|
||||
|
/** |
||||
|
* 事件来源 |
||||
|
*/ |
||||
|
private String sjly; |
||||
|
|
||||
|
/** |
||||
|
* 所属区/市 |
||||
|
*/ |
||||
|
private String ssqs; |
||||
|
|
||||
|
/** |
||||
|
* 所属街道 |
||||
|
*/ |
||||
|
private String ssjd; |
||||
|
|
||||
|
/** |
||||
|
* 所属社区 |
||||
|
*/ |
||||
|
private String sssq; |
||||
|
|
||||
|
/** |
||||
|
* 事件地址 |
||||
|
*/ |
||||
|
private String sjdz; |
||||
|
|
||||
|
/** |
||||
|
* 事件描述 |
||||
|
*/ |
||||
|
private String sjms; |
||||
|
|
||||
|
/** |
||||
|
* 网格员标识 |
||||
|
*/ |
||||
|
private String wgybs; |
||||
|
|
||||
|
/** |
||||
|
* 网格员名称 |
||||
|
*/ |
||||
|
private String wgymc; |
||||
|
|
||||
|
/** |
||||
|
* 所属部门 |
||||
|
*/ |
||||
|
private String ssbm; |
||||
|
|
||||
|
/** |
||||
|
* X坐标 |
||||
|
*/ |
||||
|
private BigDecimal xzb; |
||||
|
|
||||
|
/** |
||||
|
* Y坐标 |
||||
|
*/ |
||||
|
private BigDecimal yzb; |
||||
|
|
||||
|
/** |
||||
|
* 核实意见 |
||||
|
*/ |
||||
|
private String hsyj; |
||||
|
|
||||
|
/** |
||||
|
* 创建日期 |
||||
|
*/ |
||||
|
private Date createdate; |
||||
|
|
||||
|
/** |
||||
|
* 事件领域标签 |
||||
|
*/ |
||||
|
private String sjlyubq; |
||||
|
|
||||
|
/** |
||||
|
* 事件大类标签 |
||||
|
*/ |
||||
|
private String sjdlbq; |
||||
|
|
||||
|
/** |
||||
|
* 事件小类标签 |
||||
|
*/ |
||||
|
private String sjxlbq; |
||||
|
|
||||
|
/** |
||||
|
* 事件细类标签 |
||||
|
*/ |
||||
|
private String sjxilbq; |
||||
|
|
||||
|
/** |
||||
|
* 所属区/市标签 |
||||
|
*/ |
||||
|
private String ssqsbq; |
||||
|
|
||||
|
/** |
||||
|
* 所属街道标签 |
||||
|
*/ |
||||
|
private String ssjdbq; |
||||
|
|
||||
|
/** |
||||
|
* 所属社区标签 |
||||
|
*/ |
||||
|
private String sssqbq; |
||||
|
|
||||
|
/** |
||||
|
* 事件上报 |
||||
|
*/ |
||||
|
private String sjsbwj; |
||||
|
|
||||
|
/** |
||||
|
* 事件核实 |
||||
|
*/ |
||||
|
private String sjhswj; |
||||
|
|
||||
|
/** |
||||
|
* 事件处置 |
||||
|
*/ |
||||
|
private String sjczwj; |
||||
|
|
||||
|
/** |
||||
|
* 事件核查 |
||||
|
*/ |
||||
|
private String sjhcwj; |
||||
|
|
||||
|
/** |
||||
|
* 外系统唯一标识 |
||||
|
*/ |
||||
|
private String wxtwybs; |
||||
|
|
||||
|
/** |
||||
|
* 缩略图 |
||||
|
*/ |
||||
|
private String slt; |
||||
|
|
||||
|
/** |
||||
|
* 处置单位 |
||||
|
*/ |
||||
|
private Integer czdw; |
||||
|
|
||||
|
/** |
||||
|
* 处置结果 |
||||
|
*/ |
||||
|
private String czjg; |
||||
|
|
||||
|
/** |
||||
|
* 处置单位标签 |
||||
|
*/ |
||||
|
private String czdwbq; |
||||
|
|
||||
|
/** |
||||
|
* 是否退单 |
||||
|
*/ |
||||
|
private Integer sftd; |
||||
|
|
||||
|
/** |
||||
|
* 是否延期 |
||||
|
*/ |
||||
|
private Integer sfyq; |
||||
|
|
||||
|
/** |
||||
|
* 核查意见 |
||||
|
*/ |
||||
|
private String hcyj; |
||||
|
|
||||
|
/** |
||||
|
* 是否作废 |
||||
|
*/ |
||||
|
private Integer sfzf; |
||||
|
|
||||
|
/** |
||||
|
* 是否已核实 |
||||
|
*/ |
||||
|
private Integer sfyhs; |
||||
|
|
||||
|
/** |
||||
|
* 是否已核查 |
||||
|
*/ |
||||
|
private Integer sfyhc; |
||||
|
|
||||
|
/** |
||||
|
* 是否已督办 |
||||
|
*/ |
||||
|
private Integer sfydb; |
||||
|
|
||||
|
/** |
||||
|
* 专项任务标识 |
||||
|
*/ |
||||
|
private Integer zxrwbs; |
||||
|
|
||||
|
/** |
||||
|
* 待确责 |
||||
|
*/ |
||||
|
private Integer dqz; |
||||
|
|
||||
|
/** |
||||
|
* 熔断状态 |
||||
|
*/ |
||||
|
private Integer rdzt; |
||||
|
|
||||
|
/** |
||||
|
* 事件来源标签 |
||||
|
*/ |
||||
|
private String sjlybq; |
||||
|
|
||||
|
/** |
||||
|
* 应办结时间 |
||||
|
*/ |
||||
|
private Date ybjsj; |
||||
|
|
||||
|
/** |
||||
|
* 接收部门标识 |
||||
|
*/ |
||||
|
private Integer jsbmbs; |
||||
|
|
||||
|
/** |
||||
|
* 核实人员标识 |
||||
|
*/ |
||||
|
private Integer hsrybs; |
||||
|
|
||||
|
/** |
||||
|
* 核查人员标识 |
||||
|
*/ |
||||
|
private Integer hcrybs; |
||||
|
|
||||
|
/** |
||||
|
* 处置人员标识 |
||||
|
*/ |
||||
|
private Integer czrybs; |
||||
|
|
||||
|
/** |
||||
|
* 是否已处置 |
||||
|
*/ |
||||
|
private Integer sfycz; |
||||
|
|
||||
|
/** |
||||
|
* 核实时间 |
||||
|
*/ |
||||
|
private Date hssj; |
||||
|
|
||||
|
/** |
||||
|
* 核查时间 |
||||
|
*/ |
||||
|
private Date hcsj; |
||||
|
|
||||
|
/** |
||||
|
* 处置时间 |
||||
|
*/ |
||||
|
private Date czsj; |
||||
|
|
||||
|
/** |
||||
|
* 是否自发自处 |
||||
|
*/ |
||||
|
private Integer sfzfzc; |
||||
|
|
||||
|
/** |
||||
|
* 核查用时 |
||||
|
*/ |
||||
|
private BigDecimal hcys; |
||||
|
|
||||
|
/** |
||||
|
* 诉求联系人 |
||||
|
*/ |
||||
|
private String sqlxr; |
||||
|
|
||||
|
/** |
||||
|
* 僵尸车 |
||||
|
*/ |
||||
|
private Integer jsc; |
||||
|
|
||||
|
/** |
||||
|
* 到期时间 |
||||
|
*/ |
||||
|
private Date dqsj; |
||||
|
|
||||
|
/** |
||||
|
* 星级评定 |
||||
|
*/ |
||||
|
private Integer xjpd; |
||||
|
|
||||
|
/** |
||||
|
* 所属网格 |
||||
|
*/ |
||||
|
private String sswg; |
||||
|
|
||||
|
} |
@ -0,0 +1,205 @@ |
|||||
|
package com.epmet.opendata.excel; |
||||
|
|
||||
|
import cn.afterturn.easypoi.excel.annotation.Excel; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
/** |
||||
|
* 事件信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-07-05 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WghSjxxExcel { |
||||
|
|
||||
|
@Excel(name = "案卷标识") |
||||
|
private Integer recid; |
||||
|
|
||||
|
@Excel(name = "事件编号") |
||||
|
private String sjbh; |
||||
|
|
||||
|
@Excel(name = "事件领域") |
||||
|
private String sjlyu; |
||||
|
|
||||
|
@Excel(name = "事件大类") |
||||
|
private String sjdl; |
||||
|
|
||||
|
@Excel(name = "事件小类") |
||||
|
private String sjxl; |
||||
|
|
||||
|
@Excel(name = "事件细类") |
||||
|
private String sjxil; |
||||
|
|
||||
|
@Excel(name = "事件来源") |
||||
|
private String sjly; |
||||
|
|
||||
|
@Excel(name = "所属区/市") |
||||
|
private String ssqs; |
||||
|
|
||||
|
@Excel(name = "所属街道") |
||||
|
private String ssjd; |
||||
|
|
||||
|
@Excel(name = "所属社区") |
||||
|
private String sssq; |
||||
|
|
||||
|
@Excel(name = "事件地址") |
||||
|
private String sjdz; |
||||
|
|
||||
|
@Excel(name = "事件描述") |
||||
|
private String sjms; |
||||
|
|
||||
|
@Excel(name = "网格员标识") |
||||
|
private String wgybs; |
||||
|
|
||||
|
@Excel(name = "网格员名称") |
||||
|
private String wgymc; |
||||
|
|
||||
|
@Excel(name = "所属部门") |
||||
|
private String ssbm; |
||||
|
|
||||
|
@Excel(name = "X坐标") |
||||
|
private BigDecimal xzb; |
||||
|
|
||||
|
@Excel(name = "Y坐标") |
||||
|
private BigDecimal yzb; |
||||
|
|
||||
|
@Excel(name = "核实意见") |
||||
|
private String hsyj; |
||||
|
|
||||
|
@Excel(name = "创建日期") |
||||
|
private Date createdate; |
||||
|
|
||||
|
@Excel(name = "事件领域标签") |
||||
|
private String sjlyubq; |
||||
|
|
||||
|
@Excel(name = "事件大类标签") |
||||
|
private String sjdlbq; |
||||
|
|
||||
|
@Excel(name = "事件小类标签") |
||||
|
private String sjxlbq; |
||||
|
|
||||
|
@Excel(name = "事件细类标签") |
||||
|
private String sjxilbq; |
||||
|
|
||||
|
@Excel(name = "所属区/市标签") |
||||
|
private String ssqsbq; |
||||
|
|
||||
|
@Excel(name = "所属街道标签") |
||||
|
private String ssjdbq; |
||||
|
|
||||
|
@Excel(name = "所属社区标签") |
||||
|
private String sssqbq; |
||||
|
|
||||
|
@Excel(name = "事件上报") |
||||
|
private String sjsbwj; |
||||
|
|
||||
|
@Excel(name = "事件核实") |
||||
|
private String sjhswj; |
||||
|
|
||||
|
@Excel(name = "事件处置") |
||||
|
private String sjczwj; |
||||
|
|
||||
|
@Excel(name = "事件核查") |
||||
|
private String sjhcwj; |
||||
|
|
||||
|
@Excel(name = "外系统唯一标识") |
||||
|
private String wxtwybs; |
||||
|
|
||||
|
@Excel(name = "缩略图") |
||||
|
private String slt; |
||||
|
|
||||
|
@Excel(name = "处置单位") |
||||
|
private Integer czdw; |
||||
|
|
||||
|
@Excel(name = "处置结果") |
||||
|
private String czjg; |
||||
|
|
||||
|
@Excel(name = "处置单位标签") |
||||
|
private String czdwbq; |
||||
|
|
||||
|
@Excel(name = "是否退单") |
||||
|
private Integer sftd; |
||||
|
|
||||
|
@Excel(name = "是否延期") |
||||
|
private Integer sfyq; |
||||
|
|
||||
|
@Excel(name = "核查意见") |
||||
|
private String hcyj; |
||||
|
|
||||
|
@Excel(name = "是否作废") |
||||
|
private Integer sfzf; |
||||
|
|
||||
|
@Excel(name = "是否已核实") |
||||
|
private Integer sfyhs; |
||||
|
|
||||
|
@Excel(name = "是否已核查") |
||||
|
private Integer sfyhc; |
||||
|
|
||||
|
@Excel(name = "是否已督办") |
||||
|
private Integer sfydb; |
||||
|
|
||||
|
@Excel(name = "专项任务标识") |
||||
|
private Integer zxrwbs; |
||||
|
|
||||
|
@Excel(name = "待确责") |
||||
|
private Integer dqz; |
||||
|
|
||||
|
@Excel(name = "熔断状态") |
||||
|
private Integer rdzt; |
||||
|
|
||||
|
@Excel(name = "事件来源标签") |
||||
|
private String sjlybq; |
||||
|
|
||||
|
@Excel(name = "应办结时间") |
||||
|
private Date ybjsj; |
||||
|
|
||||
|
@Excel(name = "接收部门标识") |
||||
|
private Integer jsbmbs; |
||||
|
|
||||
|
@Excel(name = "核实人员标识") |
||||
|
private Integer hsrybs; |
||||
|
|
||||
|
@Excel(name = "核查人员标识") |
||||
|
private Integer hcrybs; |
||||
|
|
||||
|
@Excel(name = "处置人员标识") |
||||
|
private Integer czrybs; |
||||
|
|
||||
|
@Excel(name = "是否已处置") |
||||
|
private Integer sfycz; |
||||
|
|
||||
|
@Excel(name = "核实时间") |
||||
|
private Date hssj; |
||||
|
|
||||
|
@Excel(name = "核查时间") |
||||
|
private Date hcsj; |
||||
|
|
||||
|
@Excel(name = "处置时间") |
||||
|
private Date czsj; |
||||
|
|
||||
|
@Excel(name = "是否自发自处") |
||||
|
private Integer sfzfzc; |
||||
|
|
||||
|
@Excel(name = "核查用时") |
||||
|
private BigDecimal hcys; |
||||
|
|
||||
|
@Excel(name = "诉求联系人") |
||||
|
private String sqlxr; |
||||
|
|
||||
|
@Excel(name = "僵尸车") |
||||
|
private Integer jsc; |
||||
|
|
||||
|
@Excel(name = "到期时间") |
||||
|
private Date dqsj; |
||||
|
|
||||
|
@Excel(name = "星级评定") |
||||
|
private Integer xjpd; |
||||
|
|
||||
|
@Excel(name = "所属网格") |
||||
|
private String sswg; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.opendata.redis; |
||||
|
|
||||
|
import com.epmet.commons.tools.redis.RedisUtils; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* 事件信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-07-05 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WghSjxxRedis { |
||||
|
@Autowired |
||||
|
private RedisUtils redisUtils; |
||||
|
|
||||
|
public void delete(Object[] ids) { |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void set(){ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public String get(String id){ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,114 @@ |
|||||
|
package com.epmet.opendata.service; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.service.BaseService; |
||||
|
import com.epmet.commons.tools.page.PageData; |
||||
|
import com.epmet.opendata.dto.form.NewWghSjxxFormDTO; |
||||
|
import com.epmet.opendata.dto.form.PreserVationFormDTO; |
||||
|
import com.epmet.opendata.dto.form.WghSjxxDetailFormDto; |
||||
|
import com.epmet.opendata.dto.result.NewWghSjxxResultDTO; |
||||
|
import com.epmet.opendata.dto.result.WghSjxxResultDTO; |
||||
|
import com.epmet.opendata.dto.wgh.WghSjxxDTO; |
||||
|
import com.epmet.opendata.entity.WghSjxxEntity; |
||||
|
|
||||
|
|
||||
|
import java.util.List; |
||||
|
import java.util.Map; |
||||
|
|
||||
|
/** |
||||
|
* 事件信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-07-05 |
||||
|
*/ |
||||
|
public interface WghSjxxService extends BaseService<WghSjxxEntity> { |
||||
|
|
||||
|
/** |
||||
|
* 默认分页 |
||||
|
* |
||||
|
* @param params |
||||
|
* @return PageData<WghSjxxDTO> |
||||
|
* @author generator |
||||
|
* @date 2022-07-05 |
||||
|
*/ |
||||
|
PageData<WghSjxxDTO> page(Map<String, Object> params); |
||||
|
|
||||
|
/** |
||||
|
* 默认查询 |
||||
|
* |
||||
|
* @param params |
||||
|
* @return java.util.List<WghSjxxDTO> |
||||
|
* @author generator |
||||
|
* @date 2022-07-05 |
||||
|
*/ |
||||
|
List<WghSjxxDTO> list(Map<String, Object> params); |
||||
|
|
||||
|
/** |
||||
|
* 单条查询 |
||||
|
* |
||||
|
* @param id |
||||
|
* @return WghSjxxDTO |
||||
|
* @author generator |
||||
|
* @date 2022-07-05 |
||||
|
*/ |
||||
|
WghSjxxDTO get(String id); |
||||
|
|
||||
|
/** |
||||
|
* 默认保存 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return void |
||||
|
* @author generator |
||||
|
* @date 2022-07-05 |
||||
|
*/ |
||||
|
void save(WghSjxxDTO dto); |
||||
|
|
||||
|
/** |
||||
|
* 默认更新 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return void |
||||
|
* @author generator |
||||
|
* @date 2022-07-05 |
||||
|
*/ |
||||
|
void update(WghSjxxDTO dto); |
||||
|
|
||||
|
/** |
||||
|
* 批量删除 |
||||
|
* |
||||
|
* @param ids |
||||
|
* @return void |
||||
|
* @author generator |
||||
|
* @date 2022-07-05 |
||||
|
*/ |
||||
|
void delete(String[] ids); |
||||
|
|
||||
|
/** |
||||
|
* 调用ruoyi接口获取wgh_sjxxb数据 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return void |
||||
|
* @author LZN |
||||
|
* @date 2022/7/5 14:18 |
||||
|
*/ |
||||
|
void getWghSjxx(PreserVationFormDTO dto); |
||||
|
|
||||
|
/** |
||||
|
* 新的事件信息分页 |
||||
|
* |
||||
|
* @param form |
||||
|
* @return com.epmet.commons.tools.page.PageData<com.epmet.opendata.dto.result.NewWghSjxxResultDTO> |
||||
|
* @author LZN |
||||
|
* @date 2022/7/5 15:49 |
||||
|
*/ |
||||
|
PageData<NewWghSjxxResultDTO> getWghSjxxPage(NewWghSjxxFormDTO form); |
||||
|
|
||||
|
/** |
||||
|
* 查询事件信息详情 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return com.epmet.opendata.dto.result.NewWghSjxxResultDTO |
||||
|
* @author LZN |
||||
|
* @date 2022/7/5 16:15 |
||||
|
*/ |
||||
|
NewWghSjxxResultDTO getWghSjxxDetail(WghSjxxDetailFormDto dto); |
||||
|
} |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue