转换提交
This commit is contained in:
@@ -65,6 +65,10 @@ public class OracleToInfluxDBJob {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 每小时同步oracle数据库暂态事件
|
||||
* @date 2024/3/5
|
||||
*/
|
||||
@Scheduled(cron="0 30 * * * ?")
|
||||
public void executeEvent() {
|
||||
// 获取当前时间
|
||||
@@ -77,4 +81,14 @@ public class OracleToInfluxDBJob {
|
||||
LocalDateTime modifiedResult = result.plusMinutes(59).plusSeconds(59);
|
||||
oracleEventDetailToMysqlService.eventBatch(result,modifiedResult);
|
||||
}
|
||||
|
||||
/**
|
||||
* 每天同步台账装置的运行状态,监测点的运行状态
|
||||
* @date 2024/3/5
|
||||
*/
|
||||
@Scheduled(cron="0 20 0 * * ?")
|
||||
public void synLedgerRunFlag() {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user