forked from rongchao/epmet-cloud-rizhao
				
			
				 38 changed files with 523 additions and 41 deletions
			
			
		@ -0,0 +1,52 @@ | 
				
			|||
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; | 
				
			|||
import java.util.List; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Description 身边党员 积分排行接口 入参 | 
				
			|||
 * @Auth zy | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class ResiAroundPartyPointRankFormDTO implements Serializable { | 
				
			|||
    private static final long serialVersionUID = 1534061512200591149L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 页码 | 
				
			|||
     * */ | 
				
			|||
    @Min(value = 1) | 
				
			|||
    private Integer pageNo = 1; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 每页数据条数 | 
				
			|||
     * */ | 
				
			|||
    private Integer pageSize = 10; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 身边党员 grid    社区党员community | 
				
			|||
     * */ | 
				
			|||
    @NotBlank(message = "查询的部门维度scope不能为空") | 
				
			|||
    private String scope; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 本月 monthly 总排行 all; | 
				
			|||
     * */ | 
				
			|||
    @NotBlank(message = "查询的时间维度type不能为空") | 
				
			|||
    private String type; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 当前网格id | 
				
			|||
     * */ | 
				
			|||
    @NotBlank(message = "网格id不能为空") | 
				
			|||
    private String gridId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 通过网格id,获取到的 网格下的 认证成功的党员 的用户id | 
				
			|||
     * */ | 
				
			|||
    private List<String> userIds; | 
				
			|||
} | 
				
			|||
@ -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,28 @@ | 
				
			|||
/** | 
				
			|||
 * Copyright (c) 2018 人人开源 All rights reserved. | 
				
			|||
 * | 
				
			|||
 * https://www.renren.io
 | 
				
			|||
 * | 
				
			|||
 * 版权所有,侵权必究! | 
				
			|||
 */ | 
				
			|||
 | 
				
			|||
package com.epmet.common.enu; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.tools.constant.Constant; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 身边党员-积分排行 入参常量 | 
				
			|||
 * | 
				
			|||
 * @author Mark sunlightcs@gmail.com | 
				
			|||
 * @since 1.1.0 | 
				
			|||
 */ | 
				
			|||
public interface AroundPartyConstant extends Constant { | 
				
			|||
 | 
				
			|||
    String ALL = "all"; | 
				
			|||
 | 
				
			|||
    String MONTHLY = "monthly"; | 
				
			|||
 | 
				
			|||
    String GRID = "grid"; | 
				
			|||
 | 
				
			|||
    String COMMUNITY = "community"; | 
				
			|||
} | 
				
			|||
@ -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