diff --git a/src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs b/src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs index 6ba7b8b..95c0dfb 100644 --- a/src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs +++ b/src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs @@ -293,7 +293,7 @@ namespace Shentun.Peis.CustomerOrgs CustomerOrgCode = s.CustomerOrgCode, ParentId = s.ParentId, DisplayName = s.DisplayName, - DisplayOrder = s.DisplayOrder, + DisplayOrder = s.Id == GuidFlag.PersonCustomerOrgId ? 99999 : s.DisplayOrder, Id = s.Id, ShortName = s.ShortName, SimpleCode = s.SimpleCode, @@ -357,7 +357,7 @@ namespace Shentun.Peis.CustomerOrgs CustomerOrgCode = p.CustomerOrgCode, TreeChildren = new List() }; - + var customerOrgTreeChildList = GetTree(items.ToList(), null);