package com.yx.face.dao;

import com.yx.face.boot.component.tk.TKMapper;
import com.yx.face.model.entity.UserBlackList;
import com.yx.face.model.entity.UserWhitelist;
import com.yx.face.model.vo.UserBlackListVO;
import com.yx.face.model.vo.UserWhitelistVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @description:
 * @ClassName UserWhitelistDao
 * @Author WXG
 * @Date 2021/11/5 14:18
 */
public interface UserBlackListDao extends TKMapper<UserBlackList> {

    List<UserBlackListVO> selectListBySearch(Map<String, Object> map);

    Long setUserId(@Param("id") Integer id, @Param("adminId") Integer adminId);

    UserWhitelistVO selectListOne(@Param("id") Integer id);

    List<Long> selectId(@Param("userIds") List<Long> userIds, @Param("adminId") Integer adminId);
}
