|  |  | 
 |  |  |         String time1 = (String) parameters.get("time"); | 
 |  |  |         time1 = time1.replaceAll(" ", ""); | 
 |  |  |         parameters.put("time", time1); | 
 |  |  |  | 
 |  |  |         String mac1 = (String) parameters.get("mac"); | 
 |  |  |         List<Map<String, Object>> list = null; | 
 |  |  |         if (mac1 != null && mac1.equals("p5dnd7a0392018") && time1.substring(0, 4).equals("2019")) { | 
 |  |  | 
 |  |  |                 因为改动以前24点的数据是23-24,现在24点的数据是第二天0点的数据, | 
 |  |  |              */ | 
 |  |  |             /*改动范围start-------------------------------------------------------------------------*/ | 
 |  |  |             Object type = parameters.get("type"); | 
 |  |  |             if ("day".equals(type)) { | 
 |  |  |             Iterator<Map<String, Object>> iterator = list.iterator(); | 
 |  |  |             while (iterator.hasNext()) { | 
 |  |  |                 Map<String, Object> next = iterator.next(); | 
 |  |  | 
 |  |  |                     } | 
 |  |  |                 } | 
 |  |  |             } | 
 |  |  |             } | 
 |  |  |  | 
 |  |  |             /*改动范围end-------------------------------------------------------------------------*/ | 
 |  |  |  | 
 |  |  |  | 
 |  |  |             for (Map<String, Object> map : list) { | 
 |  |  |                 String time = map.get("time").toString(); | 
 |  |  |                 time = time.substring(time.length() - 2); | 
 |  |  | 
 |  |  |         params.put("level",17); | 
 |  |  |         params.put("center",center); | 
 |  |  |         params.put("points",numericalValueList); | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |         //获取公司信息 |