李昊 4 jaren geleden
bovenliggende
commit
f3b8244627
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      GxPress/Repository/GxPress.Repository.Implement/DepartmentRepository.cs

+ 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);
                     }
                 }
             }