24 changed files with 476 additions and 15 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; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,94 @@ | 
				
			|||
package com.epmet.user.result; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.tools.constant.NumConstant; | 
				
			|||
import com.fasterxml.jackson.annotation.JsonIgnore; | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2021/6/7 2:57 下午 | 
				
			|||
 * @DESC | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class GridManagerListGeneralResultDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = -2770911125810373090L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 工作人员id | 
				
			|||
     */ | 
				
			|||
    private String staffId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 工作人员手机号 | 
				
			|||
     */ | 
				
			|||
    private String mobile; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 经度 | 
				
			|||
     */ | 
				
			|||
    private String longitude; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 纬度 | 
				
			|||
     */ | 
				
			|||
    private String latitude; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 网格ID | 
				
			|||
     */ | 
				
			|||
    private String gridId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 正在巡查:patrolling;否则返回空字符串 | 
				
			|||
     */ | 
				
			|||
    private String status; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 网格名称,最多显示上两级 | 
				
			|||
     */ | 
				
			|||
    private String gridName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 姓名 | 
				
			|||
     */ | 
				
			|||
    private String staffName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 巡查时长 | 
				
			|||
     */ | 
				
			|||
    private Integer patrolDuration; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 巡查次数 | 
				
			|||
     */ | 
				
			|||
    private Integer patrolCount; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 中心点位 | 
				
			|||
     */ | 
				
			|||
    @JsonIgnore | 
				
			|||
    private String centerMark; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 经纬度赋值状态 | 
				
			|||
     */ | 
				
			|||
    @JsonIgnore | 
				
			|||
    private Boolean llStatus; | 
				
			|||
 | 
				
			|||
    public GridManagerListGeneralResultDTO() { | 
				
			|||
        this.staffId = ""; | 
				
			|||
        this.longitude = ""; | 
				
			|||
        this.latitude = ""; | 
				
			|||
        this.gridId = ""; | 
				
			|||
        this.status = ""; | 
				
			|||
        this.gridName = ""; | 
				
			|||
        this.staffName = ""; | 
				
			|||
        this.centerMark = ""; | 
				
			|||
        this.llStatus = false; | 
				
			|||
        this.patrolDuration = NumConstant.ZERO; | 
				
			|||
        this.patrolCount = NumConstant.ZERO; | 
				
			|||
    } | 
				
			|||
} | 
				
			|||
@ -0,0 +1,30 @@ | 
				
			|||
package com.epmet.dto.result; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2021/8/25 3:50 下午 | 
				
			|||
 * @DESC | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class PatrolYuShanResultDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = -54918706294182026L; | 
				
			|||
 | 
				
			|||
    private String staffId; | 
				
			|||
 | 
				
			|||
    private String gridId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 巡查时长 | 
				
			|||
     */ | 
				
			|||
    private Integer patrolDuration; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 巡查次数 | 
				
			|||
     */ | 
				
			|||
    private Integer patrolCount; | 
				
			|||
} | 
				
			|||
					Loading…
					
					
				
		Reference in new issue