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.
87 lines
2.6 KiB
87 lines
2.6 KiB
package com.epmet.dao;
|
|
|
|
import com.epmet.dto.UserBadgeCertificateRecordDTO;
|
|
import com.epmet.dto.form.AuthFieldFormDTO;
|
|
import com.epmet.dto.form.UserBadgeListFormDTO;
|
|
import com.epmet.dto.result.AuthFieldResultDTO;
|
|
import com.epmet.dto.result.CertificationDetailResultDTO;
|
|
import com.epmet.dto.result.UserBadgeListResultDTO;
|
|
import com.epmet.dto.result.UserOperListResultDTO;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @Author zxc
|
|
* @DateTime 2020/11/3 1:22 下午
|
|
*/
|
|
@Mapper
|
|
public interface UserBadgeDao {
|
|
|
|
/**
|
|
* @Description 查询已经点亮的徽章
|
|
* @Param userBadgeListFormDTO
|
|
* @author zxc
|
|
* @date 2020/11/3 1:33 下午
|
|
*/
|
|
List<UserBadgeListResultDTO> selectBadgeList(UserBadgeListFormDTO userBadgeListFormDTO);
|
|
|
|
/**
|
|
* @Description 查询默认徽章和改名后的徽章
|
|
* @Param userBadgeListFormDTO
|
|
* @author zxc
|
|
* @date 2020/11/3 3:11 下午
|
|
*/
|
|
List<UserBadgeListResultDTO> selectAllBadge(UserBadgeListFormDTO userBadgeListFormDTO);
|
|
|
|
/**
|
|
* @Description 查询徽章认证记录
|
|
* @Param userId
|
|
* @author zxc
|
|
* @date 2020/11/3 5:25 下午
|
|
*/
|
|
List<UserOperListResultDTO> selectAuthRecord(@Param("userId")String userId);
|
|
|
|
/**
|
|
* @Description 根据UserId查询个人徽章点亮信息
|
|
* @Param userId
|
|
* @author zxc
|
|
* @date 2020/11/4 9:32 上午
|
|
*/
|
|
List<UserOperListResultDTO> selectBadgeByUserId(@Param("userId")String userId);
|
|
|
|
/**
|
|
* @Description 用户认证徽章记录表插入
|
|
* @Param userBadgeCertificateRecordDTO
|
|
* @author zxc
|
|
* @date 2020/11/4 2:13 下午
|
|
*/
|
|
void insertUserBadgeCertificateRecord(UserBadgeCertificateRecordDTO userBadgeCertificateRecordDTO);
|
|
|
|
/**
|
|
* @Description 更新认证徽章记录最新
|
|
* @Param badgeId
|
|
* @Param userId
|
|
* @author zxc
|
|
* @date 2020/11/4 2:16 下午
|
|
*/
|
|
void updateCertificateRecordIsLast(@Param("badgeId")String badgeId,@Param("userId")String userId);
|
|
|
|
/**
|
|
* @Description 查询单个徽章的认证记录
|
|
* @Param userId
|
|
* @Param badgeId
|
|
* @author zxc
|
|
* @date 2020/11/4 4:09 下午
|
|
*/
|
|
CertificationDetailResultDTO selectBadgeAuthRecord(@Param("userId")String userId, @Param("badgeId")String badgeId);
|
|
|
|
/**
|
|
* @Description 个人中心-查询徽章要显示的认证信息字段
|
|
* @Param authFieldFormDTO
|
|
* @author zxc
|
|
* @date 2020/11/4 5:05 下午
|
|
*/
|
|
List<AuthFieldResultDTO> selectAuthField(AuthFieldFormDTO authFieldFormDTO);
|
|
}
|
|
|