Commit c4d8717b authored by 赵啸非's avatar 赵啸非

添加告警信息

parent eb818d7d
...@@ -51,7 +51,9 @@ public class DeviceTotalStatTaskImpl implements ITaskExcuteService { ...@@ -51,7 +51,9 @@ public class DeviceTotalStatTaskImpl implements ITaskExcuteService {
@Override @Override
public void excuteTask(ITask task) throws AppException { public void excuteTask(ITask task) throws AppException {
//统计所有站点 //统计所有站点
siteFeign.list(new SitePdu()).getData().getData().parallelStream().forEach(item -> { SitePdu sitePdu = new SitePdu();
sitePdu.setSize(-1);
siteFeign.list(sitePdu).getData().getData().parallelStream().forEach(item -> {
deviceService.deviceStat(item.getId(), null); deviceService.deviceStat(item.getId(), null);
}); });
} }
......
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