package io.renren.modules.sys.dao.bigdata;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.sys.entity.SysRoleEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysRoleBigDataDao extends BaseMapper<SysRoleEntity> {
    /**
     * 查询用户创建的角色ID列表
     */
    List<SysRoleEntity> queryRoleIdList(Long createUserId);

    List<Long> queryRoleByIdList(Long createUserId);
}
