离线数据上传

This commit is contained in:
hzj
2024-09-29 16:15:52 +08:00
parent d1574e43be
commit 4745b86085
19 changed files with 1045 additions and 840 deletions

View File

@@ -67,11 +67,11 @@ public class ReportCovertJob {
/**
* 每小时同步oracle数据库暂态事件
* 每天同步influxdb数据到mysql
*
* @date 2024/3/5
*/
@Scheduled(cron = "0 0/10 * * * ?")
@Scheduled(cron = "0 0 1 * * ? ")
public void executeEvent() throws ClassNotFoundException {
LocalDate today = LocalDate.now().minusDays(3);
// 计算前一天的日期