7 changed files with 154 additions and 0 deletions
@ -0,0 +1,31 @@ |
|||
package com.epmet.evaluationindex.screen.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 先进排行-先进支部排行--接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class AdvancedBranchRankFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -8674763412362557239L; |
|||
/** |
|||
* 机关Id |
|||
* */ |
|||
@NotBlank(message = "机关Id不能为空" , groups = AdvancedBranchRankFormDTO.AddUserInternalGroup.class) |
|||
private String agencyId; |
|||
/** |
|||
* 显示多少条 |
|||
* */ |
|||
@Min(value = 1, message = "查询条数必须大于0", groups = {AdvancedBranchRankFormDTO.AddUserInternalGroup.class }) |
|||
private Integer topNum; |
|||
/** |
|||
* 月份Id |
|||
* */ |
|||
private String monthId; |
|||
public interface AddUserInternalGroup {} |
|||
} |
|||
@ -0,0 +1,53 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* 先进排行-先进支部排行--接口返参 |
|||
* |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class IndexAdvanceBranchRankResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 330099297596334388L; |
|||
|
|||
/** |
|||
* 名称 XXXX社区党委 |
|||
*/ |
|||
private String name; |
|||
/** |
|||
* 指标得分 |
|||
*/ |
|||
@JsonIgnore |
|||
private String totalScore; |
|||
private BigDecimal scroe; |
|||
/** |
|||
* 党员数 |
|||
*/ |
|||
private Integer partyMemberNum; |
|||
|
|||
/** |
|||
* 议题数 |
|||
*/ |
|||
private Integer issueNum; |
|||
|
|||
/** |
|||
* 项目数 |
|||
*/ |
|||
private Integer projectNum; |
|||
|
|||
/** |
|||
* 满意度 90.64% 返回字符串,前端直接显示 |
|||
*/ |
|||
private String satisfactionRatio; |
|||
|
|||
/** |
|||
* 结案率 94.3% 返回字符串,前端直接显示 |
|||
*/ |
|||
private String closedProjectRatio; |
|||
|
|||
} |
|||
Loading…
Reference in new issue