转换提交

This commit is contained in:
2024-03-05 14:41:59 +08:00
parent d9c4b2cc6a
commit 2fc41aa3bc
3 changed files with 103 additions and 2 deletions

View File

@@ -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() {
}
}