package com.hzs.member.account.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.member.account.CuMemberAuthentication;
import com.hzs.member.account.vo.CuMemberAuthenticationVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 实名认证 Mapper 接口
 */
public interface CuMemberAuthenticationMapper extends BaseMapper<CuMemberAuthentication> {

    /**
     * 根据用户ID查询认证信息
     *
     * @param authenticationVO 认证信息
     * @return CuMemberAuthentication
     */
    CuMemberAuthentication selectAuthenticationByPkMember(CuMemberAuthenticationVO authenticationVO);

    /**
     * 批量删除实名认证
     *
     * @param pkMembers      会员办理业务
     * @param updatePkMember 更新人
     * @return Boolean
     */
    Boolean deleteByPkMembers(@Param("pkMembers") List<Long> pkMembers, @Param("updatePkMember") Long updatePkMember);

}
