|
@@ -158,15 +158,17 @@ public class BaseDownServiceImpl implements BaseDownService {
|
|
|
|
|
|
JSONArray jsonArray = (JSONArray) jsonResult.getData();
|
|
|
if (jsonArray != null) {
|
|
|
- log.info("下载了{}条数据",jsonArray.size());
|
|
|
-
|
|
|
if (bc.equals(InterFaceTypeEnum.TBL_PROVINCE.getCode())){
|
|
|
+ log.info("省信息下载了{}条数据",jsonArray.size());
|
|
|
provinceCityAreaTownService.extractedProvince(jsonArray);
|
|
|
} else if (bc.equals(InterFaceTypeEnum.TBL_CITY.getCode())){
|
|
|
+ log.info("市信息下载了{}条数据",jsonArray.size());
|
|
|
provinceCityAreaTownService.extractedCity(jsonArray);
|
|
|
} else if (bc.equals(InterFaceTypeEnum.TBL_COUNTY.getCode())){
|
|
|
+ log.info("区信息下载了{}条数据",jsonArray.size());
|
|
|
provinceCityAreaTownService.extractedCounty(jsonArray);
|
|
|
} else if (bc.equals(InterFaceTypeEnum.TBL_CITY_JDXZ.getCode())){
|
|
|
+ log.info("乡镇信息下载了{}条数据",jsonArray.size());
|
|
|
provinceCityAreaTownService.extractedStreet(jsonArray);
|
|
|
}
|
|
|
jsonArray.clear();
|