You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

109 lines
3.2 KiB

package com.epmet.service;
import com.epmet.commons.tools.security.dto.TokenDto;
import com.epmet.commons.tools.utils.Result;
import com.epmet.dto.form.*;
import com.epmet.dto.result.*;
import java.util.List;
import java.util.Map;
/**
* @Author zxc
* @DateTime 2020/11/3 11:18 上午
*/
public interface UserBadgeService {
/**
* @Description 查询已经点亮的徽章
* @Param userBadgeListFormDTO
* @author zxc
* @date 2020/11/3 1:33 下午
*/
List<UserBadgeListResultDTO> selectBadgeList(UserBadgeListFormDTO userBadgeListFormDTO);
/**
* @Description 个人中心-获取徽章可操作列表(点亮,取消,认证)
* @Param userOperListFormDTO
* @author zxc
* @date 2020/11/3 4:42 下午
*/
List<UserOperListResultDTO> selectOperList(UserOperListFormDTO userOperListFormDTO);
/**
* @Description 个人中心-提交徽章认证
* @Param certificationAddFormDTO
* @author zxc
* @date 2020/11/4 1:36 下午
*/
Result authBadgeRecord(CertificationAddFormDTO certificationAddFormDTO);
/**
* @Description 发送验证码
* @Param badgeSendCodeFormDTO
* @author zxc
* @date 2020/11/4 3:14 下午
*/
void badgeSendCode(BadgeSendCodeFormDTO badgeSendCodeFormDTO);
/**
* @Description 个人中心-获取徽章认证页面详情
* @Param tokenDto
* @Param certificationDetailFormDTO
* @author zxc
* @date 2020/11/4 4:03 下午
*/
CertificationDetailResultDTO certificationDetail(TokenDto tokenDto, CertificationDetailFormDTO certificationDetailFormDTO);
/**
* @Description 个人中心-查询徽章要显示的认证信息字段
* @Param authFieldFormDTO
* @author zxc
* @date 2020/11/4 5:05 下午
*/
List<AuthFieldResultDTO> authField(AuthFieldFormDTO authFieldFormDTO);
/**
* @Description 个人中心-取消/点亮徽章
* @Param openedOrClosedFormDTO
* @author zxc
* @date 2020/11/4 5:47 下午
*/
void openedOrClosed(OpenedOrClosedFormDTO openedOrClosedFormDTO);
/**
* @Description 客户徽章缓存初始化
* @Param customerId
* @author zxc
* @date 2020/11/5 3:12 下午
*/
void reloadCustomerBadge(String customerId);
/**
* @Description 得到用户全部的显示徽章(排序)
* @param userId
* @param customerId
* @return java.util.List<com.epmet.dto.form.UserBadgeUnitFormDTO>
* @author wangc
* @date 2020.11.09 13:45
*/
List<UserBadgeUnitFormDTO> getUserSortedBadge(String userId,String customerId);
/**
* @param customerId
* @param userIds
* @return java.util.Map<java.lang.String, java.util.List < com.epmet.dto.result.UserBadgeInfoResultDTO>>
* @Description 批量获取用户显示徽章
* @author wangc
* @date 2020.11.10 15:12
*/
Map<String,List<UserBadgeInfoResultDTO>> getBatchUserSortedBadge(String customerId, List<String> userIds);
/**
* @Description 初始化党员徽章 或审核通过后 添加用户党员徽章记录
* @Param userId
* @author zxc
* @date 2020/11/18 下午3:03
*/
void initPartyMemberBadge(String userId,TokenDto tokenDto);
}