From 225d8d4726808ca9730823467c9bb72e8082e6c6 Mon Sep 17 00:00:00 2001 From: wcg Date: Sun, 4 Jan 2026 10:29:10 +0800 Subject: [PATCH] =?UTF-8?q?feat(dept):=20=E6=B7=BB=E5=8A=A0=E6=8E=92?= =?UTF-8?q?=E9=99=A4=E6=8C=87=E5=AE=9A=E9=83=A8=E9=97=A8=E5=8F=8A=E5=85=B6?= =?UTF-8?q?=E5=AD=90=E5=AD=99=E9=83=A8=E9=97=A8=E7=9A=84=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../IServices/IDeptService.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application.Contracts/IServices/IDeptService.cs b/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application.Contracts/IServices/IDeptService.cs index ced23b9f..3062b747 100644 --- a/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application.Contracts/IServices/IDeptService.cs +++ b/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application.Contracts/IServices/IDeptService.cs @@ -10,5 +10,13 @@ namespace Yi.Framework.Rbac.Application.Contracts.IServices public interface IDeptService : IYiCrudAppService { Task> GetChildListAsync(Guid deptId); + + + /// + /// 获取排除指定部门及其子孙部门的部门列表 + /// + /// 要排除的部门ID + /// 排除后的部门列表 + Task> GetListExcludeAsync(Guid id); } }