3 changed files with 134 additions and 0 deletions
@ -0,0 +1,41 @@ |
|||
package com.epmet.project.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotNull; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 数据改版-难点堵点项目排行--接口入参 |
|||
* @Author jiangyy |
|||
*/ |
|||
@Data |
|||
public class DifficultyRankFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -2880432640584616651L; |
|||
public interface DifficultyRankInternalGroup {} |
|||
/** |
|||
* 组织Id |
|||
*/ |
|||
@NotBlank(message = "组织ID不能为空",groups = {DifficultyRankInternalGroup.class}) |
|||
private String agencyId; |
|||
/** |
|||
* 状态: 待处理: pending; 结案closed |
|||
*/ |
|||
private String status; |
|||
/** |
|||
* 排序类型 耗时最长:timelongest;涉及部门最多:mostdepts;处理次数:mosthandled |
|||
*/ |
|||
@NotBlank(message = "排序类型不能为空",groups = {DifficultyRankInternalGroup.class}) |
|||
private String type; |
|||
/** |
|||
* 获取数据个数 默认前10 |
|||
*/ |
|||
private Integer topNum = 10; |
|||
/** |
|||
* 查询的组织类型 网格:grid ; 组织:agency |
|||
*/ |
|||
@NotBlank(message = "查询的组织类型不能为空",groups = {DifficultyRankInternalGroup.class}) |
|||
private String orgType; |
|||
|
|||
} |
@ -0,0 +1,59 @@ |
|||
package com.epmet.project.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 难点赌点-耗时最长|涉及部门最多|处理次数 返参DTO |
|||
* @NEI https://nei.netease.com/interface/detail/res/?pid=57068&id=321614
|
|||
* @ClassName DifficultProjectResultDTO |
|||
* @Auth jiangyy |
|||
* @Date 2020-08-20 13:43 |
|||
*/ |
|||
@Data |
|||
public class ProjectDifficultRankResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -7338625142484943434L; |
|||
/** |
|||
* 项目id |
|||
* */ |
|||
private String projectId; |
|||
|
|||
/** |
|||
* 项目标题 |
|||
* */ |
|||
private String title; |
|||
|
|||
/** |
|||
* 状态: 待处理: pending; 结案closed |
|||
* */ |
|||
private String statusCode; |
|||
|
|||
/** |
|||
* 社区-网格名 |
|||
* */ |
|||
private String gridName; |
|||
|
|||
/** |
|||
* 图片列表 |
|||
* */ |
|||
private List<String> imgUrlList; |
|||
|
|||
/** |
|||
* 耗时,单位分钟 |
|||
* */ |
|||
private Integer totalHours; |
|||
|
|||
/** |
|||
* 涉及多少个部门 |
|||
* */ |
|||
private Integer reOrg; |
|||
|
|||
/** |
|||
* 处理次数 |
|||
* */ |
|||
private Integer handledCount; |
|||
|
|||
} |
@ -0,0 +1,34 @@ |
|||
package com.epmet.project.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 难点赌点-当前登录人员本级一级下一级组织机构/网格 返参DTO |
|||
* @NEI https://nei.netease.com/interface/detail/res/?pid=57068&id=321614
|
|||
* @ClassName DifficultProjectResultDTO |
|||
* @Auth jiangyy |
|||
* @Date 2020-08-20 13:43 |
|||
*/ |
|||
@Data |
|||
public class ProjectNextAgencyResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -7338625142484943434L; |
|||
/** |
|||
* 组织id |
|||
* */ |
|||
private String orgId; |
|||
|
|||
/** |
|||
* 组织名称 |
|||
* */ |
|||
private String orgName; |
|||
|
|||
/** |
|||
* 网格:grid ; 组织:agency |
|||
* */ |
|||
private String orgType; |
|||
|
|||
|
|||
} |
Loading…
Reference in new issue