|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | List<Map<String, Object>> deviceList = deviceService.getAllByMacList(macList_copy); | 
|---|
|  |  |  | List<String> de = new ArrayList<>(); | 
|---|
|  |  |  | for (Map deviceMap:deviceList) { | 
|---|
|  |  |  | de.add(deviceMap.get("name").toString()); | 
|---|
|  |  |  | List<String> ignoreMacList = new ArrayList(); | 
|---|
|  |  |  | ignoreMacList.add("p5dnd7a0392130"); | 
|---|
|  |  |  | for (String ignoreMac:ignoreMacList) { | 
|---|
|  |  |  | for (int d=0;d<macList_copy.size();d++){ | 
|---|
|  |  |  | if (macList_copy.get(d).equals(ignoreMac)){ | 
|---|
|  |  |  | macList_copy.remove(d); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | AlarmUtils_2.sendMail("276999030@qq.com,245285408@qq.com","离线警报",de.toString()+"设备或许离线!"); | 
|---|
|  |  |  | if (macList_copy.size()!=0){ | 
|---|
|  |  |  | List<Map<String, Object>> deviceList = deviceService.getAllByMacList(macList_copy); | 
|---|
|  |  |  | List<String> de = new ArrayList<>(); | 
|---|
|  |  |  | for (Map deviceMap:deviceList) { | 
|---|
|  |  |  | de.add(deviceMap.get("name").toString()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | AlarmUtils_2.sendMail("276999030@qq.com,245285408@qq.com","离线警报",de.toString()+"设备或许离线!"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | for (Map<String, Object> deviceData : hourlyDataList) { | 
|---|
|  |  |  | if (!ObjectUtils.isEmpty(deviceData)) { | 
|---|