using System.Collections.Generic; using ARW.Model.System.Dto; using ARW.Model.System; using ARW.Model.System.Vo; namespace ARW.Service.System.IService { public interface ISysMenuService { //List SelectMenuList(long userId); List SelectMenuList(MenuQueryDto menu, long userId); List SelectTreeMenuList(MenuQueryDto menu, long userId); SysMenu GetMenuByMenuId(int menuId); List GetMenusByMenuId(int menuId); int AddMenu(SysMenu menu); int EditMenu(SysMenu menu); int DeleteMenuById(int menuId); string CheckMenuNameUnique(SysMenu menu); int ChangeSortMenu(MenuDto menuDto); bool HasChildByMenuId(long menuId); List SelectChildByMenuId(long menuId); List SelectMenuTreeByUserId(long userId); List SelectMenuPermsListByUserId(long userId); List SelectMenuPermsByUserId(long userId); bool CheckMenuExistRole(long menuId); List BuildMenus(List menus); List BuildMenuTreeSelect(List menus); } }