feat:完成后端数据权限过滤
This commit is contained in:
@@ -24,14 +24,6 @@ namespace Yi.Furion.Application.Rbac.Services.Impl
|
||||
|
||||
private IRepository<RoleDeptEntity> _roleDeptRepository;
|
||||
|
||||
|
||||
public async Task<List<long>> GetDeptIdsAsync(long roleId)
|
||||
{
|
||||
var entities = await _roleDeptRepository.GetListAsync(x => x.RoleId == roleId);
|
||||
return entities.Select(x => x.DeptId).ToList();
|
||||
|
||||
}
|
||||
|
||||
[UnitOfWork]
|
||||
public async Task UpdateDataScpoceAsync(UpdateDataScpoceInput input)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user