Authored by mali

地址的调整

@@ -91,12 +91,10 @@ public class AreaService { @@ -91,12 +91,10 @@ public class AreaService {
91 LOGGER.warn("in getAreaByCode fail, fourAreaCode {}", fourAreaCode); 91 LOGGER.warn("in getAreaByCode fail, fourAreaCode {}", fourAreaCode);
92 throw new ServiceException(ServiceError.ADDRESS_NULL); 92 throw new ServiceException(ServiceError.ADDRESS_NULL);
93 } 93 }
94 -  
95 - JSONObject parent = addressData.getJSONObject("parent");  
96 -  
97 -  
98 Map<Integer, String> result = new HashMap<>(); 94 Map<Integer, String> result = new HashMap<>();
  95 + parseResp(addressData, result);
99 96
  97 + LOGGER.info("method getAddressInfoByErp out result is {}", result);
100 return result; 98 return result;
101 } 99 }
102 100