Commit fb70925a authored by wujiang's avatar wujiang

修改监盘报错

parent 17fe7672
......@@ -1214,6 +1214,10 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
queryCondtion.put(CommonConstans.QueryStringGateWayId, Arrays.asList(gatewayId));
List<ESEquipments> listDataAll = commonServiceImpl.getListDataByCondtions(queryCondtion, null,
ESEquipments.class);
if(listDataAll==null||listDataAll.isEmpty())
{
return;
}
Map<String, Object> listDataWindSpeed = listDataAll.stream()
.filter(esEquipments -> esEquipments.getEquipmentIndexName().equals("瞬时风速"))
.collect(Collectors.toMap(ESEquipments::getEquipmentNumber, ESEquipments::getValueF));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment