forked from luyan/epmet-cloud-lingshan
12 changed files with 516 additions and 40 deletions
@ -0,0 +1,59 @@ |
|||
package com.epmet.dataaggre.dto.datastats.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotNull; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/9/10 11:04 上午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class CustomerDataManageFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 6462094914874831738L; |
|||
|
|||
public interface CustomerDataManageForm{} |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
@NotBlank(message = "客户ID不能为空",groups = CustomerDataManageForm.class) |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 组织ID |
|||
*/ |
|||
@NotBlank(message = "组织ID不能为空",groups = CustomerDataManageForm.class) |
|||
private String agencyId; |
|||
|
|||
/** |
|||
* 区间:Interval 截止:end |
|||
*/ |
|||
@NotBlank(message = "type不能为空",groups = CustomerDataManageForm.class) |
|||
private String type; |
|||
|
|||
/** |
|||
* 开始时间【yyyymmdd】 |
|||
*/ |
|||
private String startTime; |
|||
|
|||
/** |
|||
* 结束时间【yyyymmdd】 |
|||
*/ |
|||
@NotBlank(message = "结束时间不能为空",groups = CustomerDataManageForm.class) |
|||
private String endTime; |
|||
|
|||
private Integer pageNo = 1; |
|||
|
|||
private Integer pageSize = 20; |
|||
|
|||
/** |
|||
* 是否分页【true分 false不分】 |
|||
*/ |
|||
@NotNull(message = "是否分页不能为空",groups = CustomerDataManageForm.class) |
|||
private Boolean isPage; |
|||
} |
@ -0,0 +1,39 @@ |
|||
package com.epmet.dataaggre.dto.datastats.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @Description 运营情况数据导出-接口返参 |
|||
* @Auth sun |
|||
*/ |
|||
@Data |
|||
public class CustomerDataManageResultDTO { |
|||
|
|||
//组织
|
|||
private String orgName; |
|||
//用户数
|
|||
private Integer userCount; |
|||
//居民数
|
|||
private Integer residentCount; |
|||
//党员数
|
|||
private Integer partyMemberCount; |
|||
//小组数
|
|||
private Integer groupCount; |
|||
//话题数
|
|||
private Integer topicCount; |
|||
//议题数
|
|||
private Integer issueCount; |
|||
//项目数
|
|||
private Integer projectCount; |
|||
//结案项目数
|
|||
private Integer closedProjectCount; |
|||
//巡查人数
|
|||
private Integer patrolPeopleCount; |
|||
//巡查次数
|
|||
private Integer patrolCount; |
|||
//巡查时长
|
|||
private String patrolDuration; |
|||
|
|||
private Integer patrolDurationInteger; |
|||
|
|||
} |
@ -0,0 +1,31 @@ |
|||
package com.epmet.dataaggre.dto.evaluationindex; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author sun |
|||
* @Description 根据组织Id判断查询直属下级组织/网格列表,组织存在子客户的查询包含子客户组织数据 |
|||
*/ |
|||
@Data |
|||
public class ScreenAgencyOrGridListDTO implements Serializable { |
|||
private static final long serialVersionUID = 6328123559936824470L; |
|||
//组织级别(社区级:community,乡(镇、街道)级:street,区县级: district,市级: city,省级:province)
|
|||
private String level; |
|||
//直属下级组织或网格集合
|
|||
private List<AgencyGrid> agencyGridList; |
|||
|
|||
@Data |
|||
public class AgencyGrid { |
|||
//组织id
|
|||
private String agencyId; |
|||
//组织名称
|
|||
private String agencyName; |
|||
//网格Id
|
|||
private String gridId; |
|||
//网格name
|
|||
private String gridName; |
|||
} |
|||
} |
@ -0,0 +1,55 @@ |
|||
package com.epmet.dataaggre.excel; |
|||
|
|||
import cn.afterturn.easypoi.excel.annotation.Excel; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/9/10 10:15 上午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class CustomerDataManageExcel { |
|||
|
|||
@Excel(name = "组织") |
|||
private String orgName; |
|||
|
|||
@Excel(name = "用户数") |
|||
private Integer userCount; |
|||
|
|||
@Excel(name = "居民数") |
|||
private Integer residentCount; |
|||
|
|||
@Excel(name = "党员数") |
|||
private Integer partyMemberCount; |
|||
|
|||
@Excel(name = "小组数") |
|||
private Integer groupCount; |
|||
|
|||
@Excel(name = "话题数") |
|||
private Integer topicCount; |
|||
|
|||
@Excel(name = "议题数") |
|||
private Integer issueCount; |
|||
|
|||
@Excel(name = "项目数") |
|||
private Integer projectCount; |
|||
|
|||
@Excel(name = "结案项目数") |
|||
private Integer closedProjectCount; |
|||
|
|||
@Excel(name = "巡查人数") |
|||
private Integer patrolPeopleCount; |
|||
|
|||
@Excel(name = "巡查次数") |
|||
private Integer patrolCount; |
|||
|
|||
@Excel(name = "巡查时长") |
|||
private String patrolDuration; |
|||
|
|||
/** |
|||
* 未转换前的巡查时长 |
|||
*/ |
|||
private Integer patrolDurationInteger; |
|||
|
|||
} |
Loading…
Reference in new issue