package com.tofly.base.service;

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

import java.util.List;

/**
 * @author Administrator
 * @date 2019/9/6  16:51
 */
public interface SysMenuService extends IService<SysMenu> {

    /**
     * 通过角色编号查询菜单
     *
     * @param roleId 角色ID
     * @return
     */
    List<SysMenu> listMenusByRoleId(Long roleId);
}
