菜单类型接口

This commit is contained in:
陈淳
2022-09-09 19:34:20 +08:00
parent d4c55620f1
commit 0fb57a0a2c
7 changed files with 66 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using Yi.Framework.Common.Models;
using Yi.Framework.Model.Models;
using Yi.Framework.Repository;
namespace Yi.Framework.Interface
{
public partial interface IDictionaryService:IBaseService<DictionaryEntity>
{
/// <summary>
/// 动态条件分页查询
/// </summary>
/// <param name="dic"></param>
/// <param name="page"></param>
/// <returns></returns>
Task<PageModel<List<DictionaryEntity>>> SelctPageList(DictionaryEntity dic, PageParModel page);
}
}

View File

@@ -28,6 +28,13 @@ namespace Yi.Framework.Interface
/// <param name="menuIds"></param>
/// <returns></returns>
Task<bool> GiveRoleSetMenu(List<long> roleIds, List<long> menuIds);
/// <summary>
/// 动态条件分页查询
/// </summary>
/// <param name="role"></param>
/// <param name="page"></param>
/// <returns></returns>
Task<PageModel<List<RoleEntity>>> SelctPageList(RoleEntity role, PageParModel page);
}
}