|
@@ -496,7 +496,7 @@ public class ScheduleTaskMgr {
|
|
|
|
|
|
//TODO 每小时的10分执行原始小时泵数据计算
|
|
//TODO 每小时的10分执行原始小时泵数据计算
|
|
@Scheduled(cron = "0 10 * * * *")
|
|
@Scheduled(cron = "0 10 * * * *")
|
|
- public void checkPumpRecordAll(){
|
|
|
|
|
|
+ public void checkPumpRecordAll() {
|
|
new Timer().schedule(new TimerTask() {
|
|
new Timer().schedule(new TimerTask() {
|
|
@Override
|
|
@Override
|
|
public void run() {
|
|
public void run() {
|
|
@@ -508,9 +508,9 @@ public class ScheduleTaskMgr {
|
|
},5000);
|
|
},5000);
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
- * TODO 汤阴业务相关
|
|
|
|
- */
|
|
|
|
|
|
+ /**
|
|
|
|
+ * TODO 汤阴业务相关
|
|
|
|
+ */
|
|
// @Resource(name = "infulxTyDbUtil")
|
|
// @Resource(name = "infulxTyDbUtil")
|
|
// private InfulxTyDbUtil infulxTyDbUtil;
|
|
// private InfulxTyDbUtil infulxTyDbUtil;
|
|
//
|
|
//
|
|
@@ -548,5 +548,4 @@ public class ScheduleTaskMgr {
|
|
// " time >= " + startLong + " and time<=" + endLong + " ORDER BY time desc tz('Asia/Shanghai')";
|
|
// " time >= " + startLong + " and time<=" + endLong + " ORDER BY time desc tz('Asia/Shanghai')";
|
|
// KprTangyinWaterBizFun.selectPressCollecation(queryInfluxdbSql);
|
|
// KprTangyinWaterBizFun.selectPressCollecation(queryInfluxdbSql);
|
|
// }
|
|
// }
|
|
-
|
|
|
|
}
|
|
}
|