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

27 lines
730 B
C#
Raw Normal View History

2022-09-13 17:05:53 +08:00
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 IDeptService:IBaseService<DeptEntity>
{
/// <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
}
}