招聘后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
928 B

using System.Collections.Generic;
using Znyc.Recruitment.Admin.Commons.IRepositories;
using Znyc.Recruitment.Admin.Security.Entitys;
namespace Znyc.Recruitment.Admin.Security.IRepositories
{
public interface IMenuRepository : IRepository<MenuEntity, long>
{
/// <summary>
/// 根据角色ID字符串(逗号分开)和系统类型ID,获取对应的操作功能列表
/// </summary>
/// <param name="roleIds">角色ID</param>
/// <param name="typeID">系统类型ID</param>
/// <param name="isMenu">是否是菜单</param>
/// <returns></returns>
IEnumerable<MenuEntity> GetFunctions(string roleIds, string typeID, bool isMenu = false);
/// <summary>
/// 根据系统类型ID,获取对应的操作功能列表
/// </summary>
/// <param name="typeID">系统类型ID</param>
/// <returns></returns>
IEnumerable<MenuEntity> GetFunctions(string typeID);
}
}