1.终端最后通讯时间同步

This commit is contained in:
wr
2024-03-19 08:36:34 +08:00
parent 05ba4e4b28
commit 660e14e149
4 changed files with 43 additions and 2 deletions

View File

@@ -90,4 +90,13 @@ public class OracleToInfluxDBJob {
public void synLedgerRunFlag() {
oracleMonitorStatusToMysqlService.monitorStatusSync();
}
/**
* 每天同步台账装置的最后更新时间
* @date 2024/3/5
*/
@Scheduled(cron="0 45 0 * * ?")
public void synLedgerUpdateTime() {
oracleMonitorStatusToMysqlService.devUpdateTimeSync();
}
}