|
@ -483,7 +483,10 @@ public class ProjectServiceImpl implements ProjectService { |
|
|
nextAgency.setOrgId(agencyDTO.getAgencyId()); |
|
|
nextAgency.setOrgId(agencyDTO.getAgencyId()); |
|
|
nextAgency.setOrgName(agencyDTO.getAgencyName()); |
|
|
nextAgency.setOrgName(agencyDTO.getAgencyName()); |
|
|
nextAgency.setOrgType("agency"); |
|
|
nextAgency.setOrgType("agency"); |
|
|
nextAgency.setAreaCode(agencyDTO.getAreaCode()); |
|
|
if (crmRes.success() && CollectionUtils.isNotEmpty(crmRes.getData())) { |
|
|
|
|
|
//只有当前客户存在子客户时,才返回areaCode
|
|
|
|
|
|
nextAgency.setAreaCode(agencyDTO.getAreaCode()); |
|
|
|
|
|
} |
|
|
resultList.add(nextAgency); |
|
|
resultList.add(nextAgency); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
@ -502,7 +505,10 @@ public class ProjectServiceImpl implements ProjectService { |
|
|
grid.setOrgId(gridDTO.getGridId()); |
|
|
grid.setOrgId(gridDTO.getGridId()); |
|
|
grid.setOrgName(gridDTO.getGridName()); |
|
|
grid.setOrgName(gridDTO.getGridName()); |
|
|
grid.setOrgType("grid"); |
|
|
grid.setOrgType("grid"); |
|
|
grid.setAreaCode(gridDTO.getAreaCode()); |
|
|
if (crmRes.success() && CollectionUtils.isNotEmpty(crmRes.getData())) { |
|
|
|
|
|
//只有当前客户存在子客户时,才返回areaCode
|
|
|
|
|
|
grid.setAreaCode(gridDTO.getAreaCode()); |
|
|
|
|
|
} |
|
|
resultList.add(grid); |
|
|
resultList.add(grid); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|