10 changed files with 292 additions and 10 deletions
@ -0,0 +1,40 @@ |
|||
package com.epmet.dataaggre.dto.govproject.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 赋能平台【项目分类分析】-接口入参 |
|||
* @Auth sun |
|||
*/ |
|||
@NoArgsConstructor |
|||
@Data |
|||
public class CategoryProjectFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -8515172319313536407L; |
|||
//组织Id
|
|||
@NotBlank(message = "组织ID不能为空", groups = {Category.class}) |
|||
private String agencyId; |
|||
//日期yyyymmdd
|
|||
@NotBlank(message = "组织ID不能为空", groups = {Category.class}) |
|||
private String dateId; |
|||
//一级分类Id
|
|||
@NotBlank(message = "分类Id不能为空", groups = {Category.class}) |
|||
private String categoryId; |
|||
//页码
|
|||
@Min(1) |
|||
private Integer pageNo = 1; |
|||
//每页多少条
|
|||
private Integer pageSize = 20; |
|||
//是否分页(是:true 否:false)
|
|||
private Boolean isPage = true; |
|||
|
|||
public interface Category extends CustomerClientShowGroup { |
|||
} |
|||
|
|||
} |
@ -0,0 +1,34 @@ |
|||
package com.epmet.dataaggre.dto.govproject.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotNull; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 赋能平台【项目分类分析】-接口入参 |
|||
* @Auth sun |
|||
*/ |
|||
@NoArgsConstructor |
|||
@Data |
|||
public class ProjectAnalysisFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -8515172319313536407L; |
|||
//日期yyyymmdd
|
|||
@NotBlank(message = "日维度ID不能为空", groups = {Analysis.class}) |
|||
private String dateId; |
|||
//小程序话题或事件发起人Id
|
|||
@NotBlank(message = "话题或事件发起人Id不能为空", groups = {Analysis.class}) |
|||
private String userId; |
|||
//一级分类Id集合
|
|||
@NotNull(message = "分类Id集合不能为空", groups = {Analysis.class}) |
|||
private List<String> categoryIdList; |
|||
|
|||
public interface Analysis extends CustomerClientShowGroup { |
|||
} |
|||
|
|||
} |
@ -0,0 +1,30 @@ |
|||
package com.epmet.dataaggre.dto.govproject.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 赋能平台【项目分类分析】-接口入参 |
|||
* @Auth sun |
|||
*/ |
|||
@NoArgsConstructor |
|||
@Data |
|||
public class ProjectCategoryTotalFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -8515172319313536407L; |
|||
//组织Id
|
|||
@NotBlank(message = "组织ID不能为空", groups = {Project.class}) |
|||
private String agencyId; |
|||
//日期yyyymmdd
|
|||
@NotBlank(message = "日维度ID不能为空", groups = {Project.class}) |
|||
private String dateId; |
|||
|
|||
public interface Project extends CustomerClientShowGroup { |
|||
} |
|||
|
|||
} |
@ -0,0 +1,51 @@ |
|||
package com.epmet.dataaggre.dto.govproject.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 赋能平台【项目处理分析】分类下项目列表-接口返参 |
|||
* @Auth sun |
|||
*/ |
|||
@Data |
|||
public class CategoryProjectResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 6188316867855643263L; |
|||
|
|||
//总条数
|
|||
private Integer total = 0; |
|||
|
|||
private List<Project> list; |
|||
|
|||
@Data |
|||
public static class Project { |
|||
//项目所属组织Id
|
|||
private String agencyId; |
|||
//项目Id
|
|||
private String projectId; |
|||
//项目编码[目前没这个功能 默认为空]
|
|||
private String projectCode = ""; |
|||
//一级分类Id集合
|
|||
private List<String> categoryIds; |
|||
//一级分类名称集合
|
|||
private List<String> categoryNames; |
|||
//来源:议题issue 项目立项:agency 事件:resi_event【控制电机查看时里边三个按钮的显示】
|
|||
private String origin; |
|||
//网格Id[立项项目此值为空]
|
|||
private String gridId; |
|||
//网格名[立项项目此值为空]
|
|||
private String gridName; |
|||
//状态:待处理 pending,已结案closed
|
|||
private String status; |
|||
//标题
|
|||
private String title; |
|||
//转项目时间
|
|||
private String time; |
|||
//当前人员是否处理:未处理unhandled,已处理handle
|
|||
private String isHandle; |
|||
//小程序居民端话题或事件创建人【立项项目此值为空】
|
|||
private String userId; |
|||
} |
|||
|
|||
} |
@ -0,0 +1,34 @@ |
|||
package com.epmet.dataaggre.dto.govproject.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 赋能平台【项目处理分析】研判分析-接口返参 |
|||
* @Auth sun |
|||
*/ |
|||
@Data |
|||
public class ProjectAnalysisResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 6188316867855643263L; |
|||
|
|||
//组织Id
|
|||
private String agencyId; |
|||
//日期yyyymmdd
|
|||
private String dateId; |
|||
//项目总数
|
|||
private Integer projectTotal = 0; |
|||
//较昨日数
|
|||
private Integer dateIncr = 0; |
|||
//较上月数
|
|||
private Integer monthIncr = 0; |
|||
//未结案项目数
|
|||
private Integer pendingTotal = 0; |
|||
//为结案项目占比 xx%
|
|||
private String pendingRatio = "0%"; |
|||
//已结案项目数
|
|||
private Integer closedTotal = 0; |
|||
//已结案项目占比
|
|||
private String closedRatio = "0%"; |
|||
|
|||
} |
@ -0,0 +1,24 @@ |
|||
package com.epmet.dataaggre.dto.govproject.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 赋能平台【项目分类分析】各分类项目数图表-接口返参 |
|||
* @Auth sun |
|||
*/ |
|||
@Data |
|||
public class ProjectCategoryTotalResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 6188316867855643263L; |
|||
|
|||
//组织Id
|
|||
private String agencyId; |
|||
//一级分类Id
|
|||
private String categoryId; |
|||
//一级分类名称
|
|||
private String categoryName; |
|||
//分类下项目总数
|
|||
private Integer total = 0; |
|||
|
|||
} |
Loading…
Reference in new issue