feat:添加数据权限搭建,准备完成数据权限过滤

This commit is contained in:
橙子
2023-05-21 21:43:11 +08:00
parent 95a91a10b3
commit ad6bd8f39b
15 changed files with 206 additions and 83 deletions

View File

@@ -13,7 +13,7 @@ namespace Yi.Furion.Application.Rbac.Services.Impl
IDeptService, ITransient, IDynamicApiController
{
[NonAction]
public async Task<List<long>> GetChiIds(long deptId)
public async Task<List<long>> GetChildListAsync(long deptId)
{
var entities= await _DbQueryable.ToChildListAsync(x=>x.ParentId,deptId);
return entities.Select(x => x.Id).ToList();