package com.tofly.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tofly.base.api.entity.SysRole;

import java.util.List;

/**
 * @author Administrator
 * @date 2019/9/6  16:18
 */
public interface SysRoleService extends IService<SysRole> {
    /**
     * 通过用户ID，查询角色信息
     *
     * @param userId
     * @return
     */
    List<SysRole> listRolesByUserId(Long userId);
}
