|  |  | 
 |  |  |         }
 | 
 |  |  |         parameters.put("cityCode", code);
 | 
 |  |  |         parameters.put("name", name);
 | 
 |  |  |         String time = parameters.get("time").toString();
 | 
 |  |  |         String string = parameters.get("time").toString();
 | 
 |  |  |         String year = string.substring(0, 4);
 | 
 |  |  |         String[] split = string.substring(5).split("-");
 | 
 |  |  |         String month = split[0];
 | 
 |  |  |         String day = split[1];
 | 
 |  |  |         if (split[0].length() < 2) {
 | 
 |  |  |             month = 0 + split[0];
 | 
 |  |  |         }
 | 
 |  |  |         if (split[1].length() < 2) {
 | 
 |  |  |             day = 0 + split[1];
 | 
 |  |  |         }
 | 
 |  |  |         String time = year + "-" + month + "-" + day;
 | 
 |  |  |         SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
 | 
 |  |  |         SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
 | 
 |  |  |         Date now = new Date();
 | 
 |  |  | 
 |  |  |                 map.put("COC", map.get("CO").toString());
 | 
 |  |  |                 map.remove("CO");
 | 
 |  |  |             }
 | 
 |  |  |             if ((!map.containsKey("PM25C")) && map.containsKey("PM2_5")) {
 | 
 |  |  |                 map.put("PM25C", map.get("PM2_5").toString().replace("\\.", ""));
 | 
 |  |  |                 map.remove("PM2_5");
 | 
 |  |  |             if ((!map.containsKey("PM25C")) && (map.containsKey("PM2_5")||map.containsKey("PM25"))) {
 | 
 |  |  |                 if (map.get("PM2_5") != null) {
 | 
 |  |  |                     map.put("PM25C", map.get("PM2_5").toString().replace("\\.", ""));
 | 
 |  |  |                     map.remove("PM2_5");
 | 
 |  |  |                     break;
 | 
 |  |  |                 }
 | 
 |  |  |                 if(map.get("PM25") != null){
 | 
 |  |  |                     map.put("PM25C", map.get("PM25").toString().replace("\\.", ""));
 | 
 |  |  |                     map.remove("PM25");
 | 
 |  |  |                     break;
 | 
 |  |  |                 }
 | 
 |  |  |             }
 | 
 |  |  |             if ((!map.containsKey("PM10C")) && map.containsKey("PM10")) {
 | 
 |  |  |                 map.put("PM10C", map.get("PM10").toString().replace("\\.", ""));
 |