李昊 %!s(int64=4) %!d(string=hai) anos
pai
achega
f3b8244627

+ 1 - 1
GxPress/Repository/GxPress.Repository.Implement/DepartmentRepository.cs

@@ -241,7 +241,7 @@ namespace GxPress.Repository.Implement
                     item.ChildrenItems = _mapper.Map<List<DepartmentTreeResult>>(departmentParent);
                     foreach (var childrenItem in item.ChildrenItems)
                     {
-                      return  GetTreeAsync(departments, childrenItem.Id, item.ChildrenItems);
+                        GetTreeAsync(departments, childrenItem.Id, item.ChildrenItems);
                     }
                 }
             }