40 lines
1.3 KiB
C#
40 lines
1.3 KiB
C#
using System.Collections.Generic;
|
|
using WX.CRM.Model.Entity;
|
|
|
|
namespace WX.CRM.IBLL.Base
|
|
{
|
|
public interface IBAS_LEFTMEMU_Q
|
|
{
|
|
/// <summary>
|
|
/// 获取全部菜单信息
|
|
/// </summary>
|
|
object GetTreeList_leftMenu();
|
|
/// <summary>
|
|
/// 从缓存中获取全部菜单 根据权限获取
|
|
/// </summary>
|
|
/// <param name="userRights">权限</param>
|
|
/// <returns></returns>
|
|
object GetTreeList_leftMenu(string[] userRights);
|
|
/// <summary>
|
|
/// 获取单个实体
|
|
/// </summary>
|
|
WX.CRM.Model.Entity.BAS_LEFTMEMU GetModel_leftMenu(decimal id);
|
|
/// <summary>
|
|
/// 获取菜单树结构
|
|
/// </summary>
|
|
object GetTree_leftMenu(decimal parentId);
|
|
object GetTree_leftMenu(decimal parentId, string[] rightIds);
|
|
/// <summary>
|
|
/// 获取菜单树结构
|
|
/// </summary>
|
|
object GetTopTree_leftMenu(decimal moduleMenuId);
|
|
List<object> GetRree_leftMenuByModuleId(decimal moduleId, string[] rightIds);
|
|
/// <summary>
|
|
/// 获取默认菜单
|
|
/// </summary>
|
|
/// <param name="moduleId"></param>
|
|
/// <returns></returns>
|
|
BAS_LEFTMEMU GetDefaultMenu(decimal moduleId, string[] rightIds);
|
|
}
|
|
}
|