|
|
@ -1417,11 +1417,11 @@ public class HouseServiceImpl implements HouseService, ResultDataResolver { |
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|
agencyNamePathList.add(0, agencyInfo.getOrganizationName()); |
|
|
|
|
|
|
|
String pidsStr = agencyInfo.getPids(); |
|
|
|
if (StringUtils.isBlank(pidsStr)) { |
|
|
|
// 没有pids,是顶级,直接返回
|
|
|
|
agencyNamePathList.add(agencyInfo.getOrganizationName()); |
|
|
|
return String.join("-", agencyNamePathList); |
|
|
|
} |
|
|
|
|
|
|
@ -1433,8 +1433,8 @@ public class HouseServiceImpl implements HouseService, ResultDataResolver { |
|
|
|
} |
|
|
|
agencyNamePathList.add(pAgencyInfo.getOrganizationName()); |
|
|
|
} |
|
|
|
// 反转列表
|
|
|
|
Collections.reverse(agencyNamePathList); |
|
|
|
// 最后把自己加上
|
|
|
|
agencyNamePathList.add(agencyInfo.getOrganizationName()); |
|
|
|
return String.join("-", agencyNamePathList); |
|
|
|
} |
|
|
|
} |
|
|
|