package com.liquidnet.service.adam.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liquidnet.service.adam.dto.AdamCaomeiPassportListDto;
import com.liquidnet.service.adam.dto.AdamCaomeiPassportUserBadgeDto;
import com.liquidnet.service.adam.entity.AdamCaomeiPassport;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdamCaomeiPassportMapper extends BaseMapper<AdamCaomeiPassport> {

    List<AdamCaomeiPassportListDto> selectPassportAdminList(@Param("passportNo") String passportNo,
                                                            @Param("userName") String userName,
                                                            @Param("mobile") String mobile,
                                                            @Param("idCard") String idCard,
                                                            @Param("bindStatus") Integer bindStatus);

    List<AdamCaomeiPassportUserBadgeDto> selectUserBadgesByUid(@Param("uid") String uid);
}
