feat:添加数据权限搭建,准备完成数据权限过滤
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user