| | |
| | | bmap.put("cityCode", 110000); |
| | | bmap.put("parentCode", 110000); |
| | | hashSet.add(bmap); |
| | | Map<String, Object> kunShanMap = new HashMap<>(); |
| | | kunShanMap.put("name1", "苏州市"); |
| | | kunShanMap.put("parentName", "江苏省"); |
| | | kunShanMap.put("cityCode", 320500); |
| | | hashSet.add(kunShanMap); |
| | | Map<String, Object> smap = new HashMap<>(); |
| | | smap.put("name1", "苏州市"); |
| | | smap.put("parentName", "江苏省"); |
| | | smap.put("cityCode", 320500); |
| | | smap.put("parentCode", 320000); |
| | | hashSet.add(smap); |
| | | |
| | | List<Element> elements = Dom4jUtils.readDocument(); |
| | | String cityID = "101190404"; |
| | |
| | | map.put("times", times); |
| | | map1.put("times", times); |
| | | map1.put("time", hour); |
| | | List<Map<String, Object>> O3List = aqiMapper.getO3(map1); |
| | | List<Map<String, Object>> O3List = new ArrayList<>(); |
| | | List<Map<String, Object>> beamList=new ArrayList<>(); |
| | | if (times.size() != 0) { |
| | | O3List = aqiMapper.getO3(map1); |
| | | if (O3List.size() == 0) { |
| | | map1.put("cityCode", Integer.valueOf(map.get("parentCode").toString())); |
| | | O3List = aqiMapper.getO3(map1); |
| | | } |
| | | List<Map<String, Object>> beamList = new ArrayList<>(); |
| | | if (map.get("macs") != null) { |
| | | beamList = historyHourlyMapper.getBeamByMacs(map); |
| | | } |
| | | } |
| | | |
| | | for (Map<String, Object> tempAndCloudMap : tempAndCloudList) { |
| | | String time1 = tempAndCloudMap.get("time").toString(); |
| | | for (Map<String, Object> beamMap : beamList) { |