15 changed files with 497 additions and 15 deletions
			
			
		@ -0,0 +1,53 @@ | 
				
			|||||
 | 
					package com.epmet.dto.form; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import javax.validation.constraints.Min; | 
				
			||||
 | 
					import javax.validation.constraints.NotBlank; | 
				
			||||
 | 
					import java.io.Serializable; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * @Description 身边党员 积分排行接口 入参 | 
				
			||||
 | 
					 * @Auth zy | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					public class ResiAroundPartyPointRankFormDTO implements Serializable { | 
				
			||||
 | 
					    private static final long serialVersionUID = 1534061512200591149L; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    public interface ResiAroundPartyPointRankGroup extends CustomerClientShowGroup{} | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 页码 | 
				
			||||
 | 
					     * */ | 
				
			||||
 | 
					    @Min(value = 1,groups = ResiAroundPartyPointRankGroup.class) | 
				
			||||
 | 
					    private Integer pageNo = 1; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 每页数据条数 | 
				
			||||
 | 
					     * */ | 
				
			||||
 | 
					    private Integer pageSize = 10; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 身边党员 grid    社区党员community | 
				
			||||
 | 
					     * */ | 
				
			||||
 | 
					    @NotBlank(message = "查询的部门维度scope不能为空",groups = ResiAroundPartyPointRankFormDTO.ResiAroundPartyPointRankGroup.class) | 
				
			||||
 | 
					    private String scope; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 本月 monthly 总排行 all; | 
				
			||||
 | 
					     * */ | 
				
			||||
 | 
					    @NotBlank(message = "查询的时间维度type不能为空",groups = ResiAroundPartyPointRankFormDTO.ResiAroundPartyPointRankGroup.class) | 
				
			||||
 | 
					    private String type; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 当前网格id | 
				
			||||
 | 
					     * */ | 
				
			||||
 | 
					    @NotBlank(message = "网格id不能为空",groups = ResiAroundPartyPointRankFormDTO.ResiAroundPartyPointRankGroup.class) | 
				
			||||
 | 
					    private String gridId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 客户Id,不做校验,如果前端不传则使用userId查询相应的客户Id | 
				
			||||
 | 
					     * */ | 
				
			||||
 | 
					    private String customerId; | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,39 @@ | 
				
			|||||
 | 
					package com.epmet.dto.result; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import java.io.Serializable; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * @Description 身边党员 积分排行接口返参DTO | 
				
			||||
 | 
					 * @Auth zy | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					public class ResiAroundPartyPointRankResultDTO implements Serializable { | 
				
			||||
 | 
					    private static final long serialVersionUID = 685408245193506541L; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 排序 | 
				
			||||
 | 
					     * */ | 
				
			||||
 | 
					    private Integer ranking; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 积分 | 
				
			||||
 | 
					     * */ | 
				
			||||
 | 
					    private Integer point; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 头像 | 
				
			||||
 | 
					     * */ | 
				
			||||
 | 
					    private String userHeadPhoto; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 名称 | 
				
			||||
 | 
					     * */ | 
				
			||||
 | 
					    private String realName; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 用户id | 
				
			||||
 | 
					     * */ | 
				
			||||
 | 
					    private String userId; | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,32 @@ | 
				
			|||||
 | 
					package com.epmet.dto.result; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import java.io.Serializable; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * @Description 根据网格id查询,它的父级 社区id | 
				
			||||
 | 
					                最后返回 社区id 下的所有网格信息 | 
				
			||||
 | 
					 * @Author zy | 
				
			||||
 | 
					 * @Date 2020/12/28 23:16 | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					public class GridInCommunityDTO implements Serializable { | 
				
			||||
 | 
					    private static final long serialVersionUID = 4360690752084258055L; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 网格ID | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String gridId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 网格名称 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String gridName; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 客户ID | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String customerId; | 
				
			||||
 | 
					} | 
				
			||||
 | 
					
 | 
				
			||||
					Loading…
					
					
				
		Reference in new issue