Przeglądaj źródła

😁修改超管时机构子节点处理

zuohuaijun 3 lat temu
rodzic
commit
a35bf85c87

+ 1 - 1
Admin.NET/Admin.NET.Core/Service/Org/SysOrgService.cs

@@ -64,7 +64,7 @@ public class SysOrgService : IDynamicApiController, ITransient
         var orgTree = new List<SysOrg>();
         if (_userManager.SuperAdmin)
         {
-            orgTree = await iSugarQueryable.ToTreeAsync(u => u.Children, u => u.Pid, 0);
+            orgTree = await iSugarQueryable.ToTreeAsync(u => u.Children, u => u.Pid, input.Id);
         }
         else
         {