65 changed files with 1337 additions and 93 deletions
@ -0,0 +1,21 @@ |
|||
package com.epmet.dataaggre.dto.datastats.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 项目月数据-接口返参 |
|||
* @Auth sun |
|||
*/ |
|||
@Data |
|||
public class FactAgencyProjectMonthResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 466974582608407121L; |
|||
//组织Id
|
|||
private String agencyId; |
|||
//月维度Id
|
|||
private String monthId; |
|||
//当月项目总数 【当前组织及下级前一月新增项目数】
|
|||
private Integer projectIncr = 0; |
|||
|
|||
} |
@ -0,0 +1,35 @@ |
|||
package com.epmet.dataaggre.dto.datastats.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* @Description 项目总数-接口返参 |
|||
* @Auth sun |
|||
*/ |
|||
@Data |
|||
public class FactAgencyProjectResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 466974582608407121L; |
|||
@JsonIgnore |
|||
BigDecimal bi = new BigDecimal(0); |
|||
//组织Id
|
|||
private String agencyId; |
|||
//组织名称
|
|||
private String dateId; |
|||
//月维度Id
|
|||
private String monthId; |
|||
//项目总数
|
|||
private Integer projectTotal = 0; |
|||
//处理中项目数
|
|||
private Integer pendingTotal = 0; |
|||
//处理中项目占比
|
|||
private String pendingRatio = "0%"; |
|||
//已结案中项目数
|
|||
private Integer closedTotal = 0; |
|||
//已结案中项目占比
|
|||
private String closedRatio = "0%"; |
|||
|
|||
} |
@ -0,0 +1,93 @@ |
|||
/** |
|||
* Copyright 2018 人人开源 https://www.renren.io
|
|||
* <p> |
|||
* This program is free software: you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License as published by |
|||
* the Free Software Foundation, either version 3 of the License, or |
|||
* (at your option) any later version. |
|||
* <p> |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* <p> |
|||
* You should have received a copy of the GNU General Public License |
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
*/ |
|||
|
|||
package com.epmet.dataaggre.dto.govissue; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
|
|||
/** |
|||
* 议题项目分类字典 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-12-08 |
|||
*/ |
|||
@Data |
|||
public class IssueProjectCategoryDictDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键 |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户id, 产品默认default |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 上级分类ID 顶级此列存储0 |
|||
*/ |
|||
private String pid; |
|||
|
|||
/** |
|||
* 所有上级分类ID,用逗号分开 |
|||
*/ |
|||
private String pids; |
|||
|
|||
/** |
|||
* 上级分类编码 |
|||
*/ |
|||
private String parentCategoryCode; |
|||
|
|||
/** |
|||
* 分类编码,分类编码+customer_id唯一 |
|||
*/ |
|||
private String categoryCode; |
|||
|
|||
/** |
|||
* 分类名称 |
|||
*/ |
|||
private String categoryName; |
|||
|
|||
/** |
|||
* 分类类别1,2,3,4.... |
|||
*/ |
|||
private String categoryType; |
|||
|
|||
/** |
|||
* 排序 |
|||
*/ |
|||
private Integer sort; |
|||
|
|||
/** |
|||
* 是否禁用(enable:启用 disable:禁用) |
|||
*/ |
|||
private String isDisable; |
|||
|
|||
/** |
|||
* 颜色 |
|||
*/ |
|||
private String colour; |
|||
|
|||
|
|||
} |
@ -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 = "分类Code不能为空", groups = {Category.class}) |
|||
private String categoryCode; |
|||
//页码
|
|||
@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 = "分类Code集合不能为空", groups = {Analysis.class}) |
|||
private List<String> categoryCodeList; |
|||
|
|||
public interface Analysis extends CustomerClientShowGroup { |
|||
} |
|||
|
|||
} |
@ -0,0 +1,32 @@ |
|||
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; |
|||
|
|||
private String customerId; |
|||
|
|||
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> categoryCodes; |
|||
//一级分类名称集合
|
|||
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,12 @@ |
|||
package com.epmet.dataaggre.dto.govproject.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
@Data |
|||
public class IssueProjectCategory implements Serializable { |
|||
private static final long serialVersionUID = -2226298165882293959L; |
|||
private String issueId; |
|||
private String projectId; |
|||
} |
@ -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; |
|||
//一级分类Code
|
|||
private String categoryCode; |
|||
//一级分类名称
|
|||
private String categoryName; |
|||
//分类下项目总数
|
|||
private Integer total = 0; |
|||
|
|||
} |
@ -0,0 +1,19 @@ |
|||
package com.epmet.dataaggre.dto.resigroup.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class UserTopicPageFormDTO implements Serializable { |
|||
public interface AddUserInternalGroup { |
|||
} |
|||
//@NotBlank(message = "epmetUserId不能为空" , groups = AddUserInternalGroup.class)
|
|||
private List<String> epmetUserIdList; |
|||
@NotNull(message = "pageNo不能为空",groups = AddUserInternalGroup.class) |
|||
private Integer pageNo; |
|||
@NotNull(message = "pageSize不能为空",groups = AddUserInternalGroup.class) |
|||
private Integer pageSize; |
|||
} |
@ -0,0 +1,22 @@ |
|||
package com.epmet.dataaggre.dto.resigroup.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 个人分析,发布话题分页列表 |
|||
*/ |
|||
@Data |
|||
public class UserTopicResDTO implements Serializable { |
|||
private String topicId; |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
|||
private Date releaseTime; |
|||
private String topicContent; |
|||
private Boolean shiftIssue; |
|||
private String issueId; |
|||
private Boolean shiftProject=false; |
|||
private String projectId=""; |
|||
} |
@ -0,0 +1,18 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 数字赋能平台-个人档案-上报事件-事件详情 |
|||
*/ |
|||
@Data |
|||
public class ResiEventDetailFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 4449275163195979994L; |
|||
public interface AddUserInternalGroup { |
|||
} |
|||
@NotBlank(message = "resiEventId不能为空",groups =AddUserInternalGroup.class ) |
|||
private String resiEventId; |
|||
} |
@ -1,9 +1,35 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 数据分析-个人档案-上报事件列表入参 |
|||
*/ |
|||
@Data |
|||
public class PageUserReportEventResDTO implements Serializable { |
|||
private String resiEventId; |
|||
/** |
|||
* 事件内容 |
|||
*/ |
|||
private String eventContent; |
|||
|
|||
/** |
|||
* 事件上报事件 |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
|||
private Date reportTime; |
|||
|
|||
/** |
|||
* true 已转项目;false:未转项目 |
|||
*/ |
|||
private Boolean shiftProject; |
|||
|
|||
/** |
|||
* 项目id |
|||
*/ |
|||
private String projectId; |
|||
} |
|||
|
@ -0,0 +1,38 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.epmet.commons.tools.constant.NumConstant; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/12/8 10:14 上午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class ProjectDistributionAnalysisRightDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 7233782006110358477L; |
|||
|
|||
/** |
|||
* 组织ID |
|||
*/ |
|||
private String orgId; |
|||
|
|||
/** |
|||
* 组织类型,组织:agency,网格:grid |
|||
*/ |
|||
private String orgType; |
|||
|
|||
/** |
|||
* 热力值 |
|||
*/ |
|||
private Integer count; |
|||
|
|||
public ProjectDistributionAnalysisRightDTO() { |
|||
this.orgId = ""; |
|||
this.orgType = ""; |
|||
this.count = NumConstant.ZERO; |
|||
} |
|||
} |
@ -0,0 +1,33 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/12/8 10:11 上午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class ProjectDistributionAnalysisRightResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 8359144215262197796L; |
|||
|
|||
/** |
|||
* ..以上 |
|||
*/ |
|||
private String under; |
|||
|
|||
/** |
|||
* 中间区间 |
|||
*/ |
|||
private String middle; |
|||
/** |
|||
* ..以下 |
|||
*/ |
|||
private String above; |
|||
|
|||
private List<ProjectDistributionAnalysisRightDTO> list; |
|||
} |
Loading…
Reference in new issue