Files
Yi.Admin/Yi.Framework.Net6/Yi.Framework.Interface/RABC/IDeptService.cs

27 lines
743 B
C#
Raw Normal View History

2022-09-13 17:05:53 +08:00
using System.Collections.Generic;
using System.Threading.Tasks;
2023-01-01 23:06:11 +08:00
using Yi.Framework.Interface.Base;
using Yi.Framework.Model.RABC.Entitys;
2022-09-13 17:05:53 +08:00
using Yi.Framework.Repository;
2023-01-01 23:06:11 +08:00
namespace Yi.Framework.Interface.RABC
2022-09-13 17:05:53 +08:00
{
2023-01-01 23:06:11 +08:00
public partial interface IDeptService:IBaseService<DeptEntity>
2022-09-13 17:05:53 +08:00
{
/// <summary>
/// 动态条件查询
2022-09-13 17:05:53 +08:00
/// </summary>
/// <param name="dept"></param>
/// <returns></returns>
Task<List<DeptEntity>> SelctGetList(DeptEntity dept);
2022-09-15 19:45:51 +08:00
/// <summary>
/// 根据角色id获取该角色的部门权限
/// </summary>
/// <param name="roleId"></param>
/// <returns></returns>
Task<List<DeptEntity>> GetListByRoleId(long roleId);
2022-09-13 17:05:53 +08:00
}
}