feat:完成后端数据权限过滤

This commit is contained in:
陈淳
2023-05-22 12:57:27 +08:00
parent ad6bd8f39b
commit 327a7b2a48
14 changed files with 167 additions and 15 deletions

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Yi.Furion.Core.Rbac.Entities;
namespace Yi.Furion.Sqlsugar.Core.Repositories
{
public interface IDeptRepository
{
Task<List<long>> GetChildListAsync(long deptId);
Task<List<DeptEntity>> GetListRoleIdAsync([FromRoute] long roleId);
}
}