Commit 0729c493 authored by caotao's avatar caotao

1.移除原来的定制执行改为消息驱动计算健康指数

parent 8de57b82
...@@ -1432,7 +1432,7 @@ public class CommonServiceImpl { ...@@ -1432,7 +1432,7 @@ public class CommonServiceImpl {
} }
@Scheduled(cron = "0 0/10 * * * ?") // @Scheduled(cron = "0 0/10 * * * ?")
@Async("async") @Async("async")
public void healthWarningMinuteByFan() { public void healthWarningMinuteByFan() {
if (!openHealth) { if (!openHealth) {
...@@ -1677,9 +1677,9 @@ public class CommonServiceImpl { ...@@ -1677,9 +1677,9 @@ public class CommonServiceImpl {
// @Scheduled(cron = "0 0/10 * * * ?") // @Scheduled(cron = "0 0/10 * * * ?")
@Async("async") @Async("async")
public void healthWarningMinuteByPv() { public void healthWarningMinuteByPv() {
// if (!openHealth) { if (!openHealth) {
// return; return;
// } }
Calendar calendar = Calendar.getInstance(); Calendar calendar = Calendar.getInstance();
Date time = new Date(); Date time = new Date();
List<IdxBizPvPointProcessVariableClassificationDto> data = idxBizPvPointProcessVariableClassificationMapper.getInfluxDBData(); List<IdxBizPvPointProcessVariableClassificationDto> data = idxBizPvPointProcessVariableClassificationMapper.getInfluxDBData();
......
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