forked from luyan/epmet-cloud-lingshan
11 changed files with 227 additions and 13 deletions
@ -0,0 +1,43 @@ |
|||||
|
package com.epmet.dataaggre.dto.epmetuser.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
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 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class GridMemberPatrolListFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -3381286960911634231L; |
||||
|
/** |
||||
|
* 组织id |
||||
|
*/ |
||||
|
@NotBlank(message = "组织Id不能为空", groups = GridMemberPatrolListFormDTO.Member.class) |
||||
|
private String agencyId; |
||||
|
/** |
||||
|
* 维度Id(月:202108;年:2021) |
||||
|
*/ |
||||
|
@NotBlank(message = "维度Id不能为空", groups = GridMemberPatrolListFormDTO.Member.class) |
||||
|
private String dimId; |
||||
|
/** |
||||
|
* 维度类型(月:month;年:year) |
||||
|
*/ |
||||
|
@NotBlank(message = "维度类型不能为空", groups = GridMemberPatrolListFormDTO.Member.class) |
||||
|
private String dimType; |
||||
|
/** |
||||
|
* 排序字段(上报事件:project巡查时长:patrolTime处理件数:dealEvent) |
||||
|
*/ |
||||
|
private String sort = "project"; |
||||
|
//按条件查询数据的最大日维度Id
|
||||
|
private String dateId; |
||||
|
|
||||
|
public interface Member extends CustomerClientShowGroup {} |
||||
|
} |
@ -0,0 +1,31 @@ |
|||||
|
package com.epmet.dataaggre.dto.epmetuser.result; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description 对外接口--网格员排名-巡查记录-接口返参 |
||||
|
* @Auth sun |
||||
|
*/ |
||||
|
@Data |
||||
|
public class GridMemberPatrolListResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 7129564173128153335L; |
||||
|
|
||||
|
//工作人员用户id
|
||||
|
private String staffId = ""; |
||||
|
//真名
|
||||
|
private String staffName = ""; |
||||
|
//上报事件(项目)数
|
||||
|
private Integer reportProjectCount = 0; |
||||
|
//巡查总时长【单位:分钟】
|
||||
|
private Integer patrolTotalTime = 0; |
||||
|
//处理件数(议题转项目数+议题关闭数+项目响应数+项目吹哨数+项目结案数)
|
||||
|
private Integer eventCount = 0; |
||||
|
@JsonIgnore |
||||
|
private String dateId; |
||||
|
@JsonIgnore |
||||
|
private Integer timeNum; |
||||
|
|
||||
|
} |
Loading…
Reference in new issue