10 changed files with 552 additions and 4 deletions
@ -0,0 +1,73 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.dto.form.PageFormDTO; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class OrgProjectListFormDTO extends PageFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -3317804468566708838L; |
||||
|
|
||||
|
/** |
||||
|
* 组织/网格Id |
||||
|
*/ |
||||
|
private String orgId; |
||||
|
/** |
||||
|
* 组织agency 网格grid |
||||
|
*/ |
||||
|
private String orgType; |
||||
|
/** |
||||
|
* 上报渠道 【来源:议题issue 项目立项:agency 事件:resi_event 工作人员上报:work_event】 |
||||
|
*/ |
||||
|
private String origin; |
||||
|
/** |
||||
|
* 上报人姓名 |
||||
|
*/ |
||||
|
private String staffName; |
||||
|
/** |
||||
|
* 手机号 |
||||
|
*/ |
||||
|
private String mobile; |
||||
|
//手机号对应工作人员Id集合
|
||||
|
private List<String> staffIds; |
||||
|
/** |
||||
|
* 事件内容 |
||||
|
*/ |
||||
|
private String backGround; |
||||
|
/** |
||||
|
* 事件类型 一类、二类Id集合 |
||||
|
*/ |
||||
|
private List<String> firstIdList; |
||||
|
private List<String> secondIdList; |
||||
|
/** |
||||
|
* 事件状态 待处理 pending,结案closed |
||||
|
*/ |
||||
|
private String status; |
||||
|
/** |
||||
|
* 起始上报时间 精确到秒 |
||||
|
*/ |
||||
|
private String startTime; |
||||
|
/** |
||||
|
* 终止上报时间 精确到秒 |
||||
|
*/ |
||||
|
private String endTime; |
||||
|
/** |
||||
|
* 处置选项 筛选自己参与的项目 有值就按staffId查 |
||||
|
*/ |
||||
|
private String staffId; |
||||
|
|
||||
|
/** |
||||
|
* 分页参数 |
||||
|
*/ |
||||
|
private Integer pageNo = 1; |
||||
|
private Integer pageSize = 20; |
||||
|
private Boolean isPage = true; |
||||
|
|
||||
|
//token中信息
|
||||
|
private String userId; |
||||
|
private String customerId; |
||||
|
|
||||
|
} |
@ -0,0 +1,100 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import com.epmet.dto.form.FileDTO; |
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class OrgProjectListResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 2374701362057175388L; |
||||
|
|
||||
|
/** |
||||
|
* 项目ID |
||||
|
*/ |
||||
|
private String projectId; |
||||
|
/** |
||||
|
* 所属组织ID |
||||
|
*/ |
||||
|
private String agencyId; |
||||
|
/** |
||||
|
* 上报渠道 agency:网格上报 resi_event:居民上报 work_event:巡查上报 issue:议题上报 |
||||
|
*/ |
||||
|
private String origin; |
||||
|
/** |
||||
|
* 一级分类 |
||||
|
*/ |
||||
|
private String firstName; |
||||
|
private String firstId; |
||||
|
|
||||
|
/** |
||||
|
* 二级分类 |
||||
|
*/ |
||||
|
private String secondName; |
||||
|
private String secondId; |
||||
|
|
||||
|
/** |
||||
|
* 事件标题 |
||||
|
*/ |
||||
|
private String title; |
||||
|
|
||||
|
/** |
||||
|
* 所属网格 |
||||
|
*/ |
||||
|
private String gridName; |
||||
|
private String gridId; |
||||
|
|
||||
|
/** |
||||
|
* 地址 |
||||
|
*/ |
||||
|
private String address; |
||||
|
/** |
||||
|
* 报事人 |
||||
|
*/ |
||||
|
private String staffName; |
||||
|
private String staffId; |
||||
|
/** |
||||
|
* 上报人电话 |
||||
|
*/ |
||||
|
private String mobile; |
||||
|
/** |
||||
|
* 上报时间 |
||||
|
*/ |
||||
|
private String createdTime; |
||||
|
/** |
||||
|
* 事件内容 |
||||
|
*/ |
||||
|
private String backGround; |
||||
|
/** |
||||
|
* 结案说明 |
||||
|
*/ |
||||
|
private String publicReply; |
||||
|
/** |
||||
|
* 办结时间 |
||||
|
*/ |
||||
|
private String endTime; |
||||
|
/** |
||||
|
* 办结部门 |
||||
|
*/ |
||||
|
private String departmentName; |
||||
|
|
||||
|
/** |
||||
|
* 处理建议[创建节点的公开答复] |
||||
|
*/ |
||||
|
private String createPublicReply; |
||||
|
|
||||
|
/** |
||||
|
* 图片url集合 |
||||
|
*/ |
||||
|
private List<FileDTO> urlList; |
||||
|
private List<String> imageList; |
||||
|
|
||||
|
/** |
||||
|
* 状态 待处理 pending,结案closed |
||||
|
*/ |
||||
|
private String status; |
||||
|
} |
@ -0,0 +1,127 @@ |
|||||
|
package com.epmet.excel; |
||||
|
|
||||
|
import cn.afterturn.easypoi.excel.annotation.ExcelCollection; |
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* 事件管理表 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-05-17 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class OrgProjectListExcel { |
||||
|
|
||||
|
private static final long serialVersionUID = 2374701362057175388L; |
||||
|
|
||||
|
/** |
||||
|
* 上报渠道 agency:网格上报 resi_event:居民上报 work_event:巡查上报 issue:议题上报 |
||||
|
*/ |
||||
|
@ExcelProperty(value = "上报渠道") |
||||
|
@ColumnWidth(25) |
||||
|
private String origin; |
||||
|
/** |
||||
|
* 一级分类名称 |
||||
|
*/ |
||||
|
@ExcelProperty(value = "一级分类") |
||||
|
@ColumnWidth(20) |
||||
|
private String firstName; |
||||
|
|
||||
|
/** |
||||
|
* 二级分类名称 |
||||
|
*/ |
||||
|
@ExcelProperty(value = "二级分类") |
||||
|
@ColumnWidth(20) |
||||
|
private String secondName; |
||||
|
|
||||
|
/** |
||||
|
* 事件标题 |
||||
|
*/ |
||||
|
@ExcelProperty(value = "事件标题") |
||||
|
@ColumnWidth(30) |
||||
|
private String title; |
||||
|
|
||||
|
/** |
||||
|
* 所属网格 |
||||
|
*/ |
||||
|
@ExcelProperty(value = "所属网格") |
||||
|
@ColumnWidth(30) |
||||
|
private String gridName; |
||||
|
|
||||
|
/** |
||||
|
* 地址 |
||||
|
*/ |
||||
|
@ExcelProperty(value = "地址") |
||||
|
@ColumnWidth(30) |
||||
|
private String address; |
||||
|
/** |
||||
|
* 报事人 |
||||
|
*/ |
||||
|
@ExcelProperty(value = "报事人") |
||||
|
@ColumnWidth(20) |
||||
|
private String staffName; |
||||
|
/** |
||||
|
* 上报人电话 |
||||
|
*/ |
||||
|
@ExcelProperty(value = "上报人电话") |
||||
|
@ColumnWidth(20) |
||||
|
private String mobile; |
||||
|
/** |
||||
|
* 上报时间 |
||||
|
*/ |
||||
|
@ExcelProperty(value = "上报时间") |
||||
|
@ColumnWidth(25) |
||||
|
private String createdTime; |
||||
|
/** |
||||
|
* 事件内容 |
||||
|
*/ |
||||
|
@ExcelProperty(value = "事件内容") |
||||
|
@ColumnWidth(40) |
||||
|
private String backGround; |
||||
|
/** |
||||
|
* 结案说明 |
||||
|
*/ |
||||
|
@ExcelProperty(value = "结案说明") |
||||
|
@ColumnWidth(30) |
||||
|
private String publicReply; |
||||
|
/** |
||||
|
* 办结时间 |
||||
|
*/ |
||||
|
@ExcelProperty(value = "办结时间") |
||||
|
@ColumnWidth(25) |
||||
|
private String endTime; |
||||
|
/** |
||||
|
* 办结部门 |
||||
|
*/ |
||||
|
@ExcelProperty(value = "办结部门") |
||||
|
@ColumnWidth(30) |
||||
|
private String departmentName; |
||||
|
|
||||
|
/** |
||||
|
* 处理建议[创建节点的公开答复] |
||||
|
*/ |
||||
|
@ExcelProperty(value = "处理建议") |
||||
|
@ColumnWidth(25) |
||||
|
private String createPublicReply; |
||||
|
|
||||
|
/** |
||||
|
* 图片url集合 |
||||
|
*/ |
||||
|
@ExcelProperty(value = "图片") |
||||
|
@ColumnWidth(30) |
||||
|
@ExcelCollection(name = "图片") |
||||
|
private List<String> imageList; |
||||
|
|
||||
|
/** |
||||
|
* 状态 处理中 pending,已结案 closed |
||||
|
*/ |
||||
|
@ExcelProperty(value = "状态") |
||||
|
@ColumnWidth(20) |
||||
|
private String status; |
||||
|
|
||||
|
|
||||
|
} |
Loading…
Reference in new issue