12 changed files with 267 additions and 20 deletions
@ -0,0 +1,48 @@ |
|||
package com.epmet.dataaggre.dto.resigroup.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 005、【支建+联建】下级组织排行列表 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2021/5/18 17:30 |
|||
*/ |
|||
@Data |
|||
public class GroupActRankFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 2293552582281839132L; |
|||
public interface AddUserInternalGroup { |
|||
} |
|||
|
|||
/** |
|||
* 支部建设:100;联建共建:101 |
|||
*/ |
|||
@NotBlank(message = "firstCategoryCode必传,支部建设:100;联建共建:101", groups = BranchConAnalysisFormDTO.AddUserInternalGroup.class) |
|||
private String firstCategoryCode; |
|||
|
|||
/** |
|||
* 当前客户id |
|||
*/ |
|||
@NotBlank(message = "客户id不能为空", groups = BranchConAnalysisFormDTO.AddUserInternalGroup.class) |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 当前组织或者网格id |
|||
*/ |
|||
@NotBlank(message = "orgId不能为空", groups = BranchConAnalysisFormDTO.AddUserInternalGroup.class) |
|||
private String orgId; |
|||
|
|||
/** |
|||
* 默认传组织:agency; 网格:grid |
|||
*/ |
|||
@NotBlank(message = "orgType不能为空", groups = BranchConAnalysisFormDTO.AddUserInternalGroup.class) |
|||
private String orgType; |
|||
|
|||
/** |
|||
* 排序编码;可以不传,前端自己处理。 |
|||
*/ |
|||
private String rankCode; |
|||
} |
@ -0,0 +1,23 @@ |
|||
package com.epmet.dataaggre.dto.resigroup.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 005、【支建+联建】下级组织排行列表 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2021/5/19 9:31 |
|||
*/ |
|||
@Data |
|||
public class GroupActRankDetailDTO implements Serializable { |
|||
private static final long serialVersionUID = 7738751412518098478L; |
|||
|
|||
private String categoryCode; |
|||
private String categoryName; |
|||
private Integer organizeTotal; |
|||
private Integer participateUserTotal; |
|||
private String organizeName; |
|||
private String participateUserName; |
|||
} |
@ -0,0 +1,43 @@ |
|||
package com.epmet.dataaggre.dto.resigroup.result; |
|||
|
|||
import com.epmet.commons.tools.constant.NumConstant; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 005、【支建+联建】下级组织排行列表 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2021/5/18 17:33 |
|||
*/ |
|||
@Data |
|||
public class GroupActRankResultDTO implements Serializable { |
|||
private String orgId; |
|||
private String orgType; |
|||
private String orgName; |
|||
private Integer organizeTotal; |
|||
private String organizeName; |
|||
private Integer participateUserTotal; |
|||
private String participateUserName; |
|||
private List<GroupActRankDetailDTO> categoryList; |
|||
|
|||
@JsonIgnore |
|||
private Integer sortValue; |
|||
|
|||
public GroupActRankResultDTO() { |
|||
this.orgId = ""; |
|||
this.orgType = ""; |
|||
this.orgName = ""; |
|||
this.organizeTotal = NumConstant.ZERO; |
|||
this.organizeName = "组织总次数"; |
|||
this.participateUserTotal = NumConstant.ZERO; |
|||
this.participateUserName = "参加总人数"; |
|||
this.categoryList = new ArrayList<>(); |
|||
} |
|||
|
|||
|
|||
} |
Loading…
Reference in new issue