|
|
@ -1119,6 +1119,7 @@ public class CustomerAgencyServiceImpl extends BaseServiceImpl<CustomerAgencyDao |
|
|
|
result.setAgencyName(rootAgency.getAgencyName()); |
|
|
|
result.setAgencyId(rootAgency.getAgencyId()); |
|
|
|
result.setLevel(rootAgency.getLevel()); |
|
|
|
result.setOrgLevel(rootAgency.getAgencyId().concat("-").concat(rootAgency.getLevel())); |
|
|
|
result.setLongitude(rootAgency.getLongitude()); |
|
|
|
result.setLatitude(rootAgency.getLatitude()); |
|
|
|
ExtStaffPermissionResultDTO res = baseDao.selectAgencyById(rootAgency.getAgencyId()); |
|
|
@ -1141,6 +1142,7 @@ public class CustomerAgencyServiceImpl extends BaseServiceImpl<CustomerAgencyDao |
|
|
|
resultDTO.setLevel(agency.getLevel()); |
|
|
|
resultDTO.setLongitude(agency.getLongitude()); |
|
|
|
resultDTO.setLatitude(agency.getLatitude()); |
|
|
|
resultDTO.setOrgLevel(agency.getAgencyId().concat("-").concat(agency.getLevel())); |
|
|
|
|
|
|
|
if (root.getSubAgencyList() == null) { |
|
|
|
root.setSubAgencyList(new ArrayList<>()); |
|
|
@ -1156,6 +1158,7 @@ public class CustomerAgencyServiceImpl extends BaseServiceImpl<CustomerAgencyDao |
|
|
|
grid.setAgencyName(o.getGridName()); |
|
|
|
grid.setPid(root.getAgencyId()); |
|
|
|
grid.setLevel("grid"); |
|
|
|
grid.setOrgLevel(o.getGridId().concat("-").concat("grid")); |
|
|
|
grid.setSubAgencyList(null); |
|
|
|
grid.setLongitude(o.getLongitude()); |
|
|
|
grid.setLatitude(o.getLatitude()); |
|
|
|