同步台账装置的运行状态,监测点的运行状态编写
This commit is contained in:
@@ -2,10 +2,9 @@ package com.njcn.influx.job;
|
||||
|
||||
import com.njcn.influx.bo.param.TableEnum;
|
||||
import com.njcn.influx.service.OracleEventDetailToMysqlService;
|
||||
import com.njcn.influx.service.OracleMonitorStatusToMysqlService;
|
||||
import com.njcn.influx.service.OracleToInfluxDBService;
|
||||
import com.njcn.influx.service.impl.OracleEventDetailToMysqlServiceImpl;
|
||||
import com.njcn.oracle.bo.param.DataAsynParam;
|
||||
import com.njcn.oracle.bo.param.ServiceTypeEnum;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
@@ -33,7 +32,8 @@ public class OracleToInfluxDBJob {
|
||||
private final OracleToInfluxDBService oracleToInfluxDBService;
|
||||
|
||||
private final OracleEventDetailToMysqlService oracleEventDetailToMysqlService;
|
||||
/* @Scheduled(cron="0 5 0 * * ?")
|
||||
private final OracleMonitorStatusToMysqlService oracleMonitorStatusToMysqlService;
|
||||
/*@Scheduled(cron="0 5 0 * * ?")
|
||||
public void execute() {
|
||||
DataAsynParam dataAsynParam = new DataAsynParam();
|
||||
dataAsynParam.setStartTime(LocalDate.now().plusDays(-1));
|
||||
@@ -88,7 +88,6 @@ public class OracleToInfluxDBJob {
|
||||
*/
|
||||
@Scheduled(cron="0 20 0 * * ?")
|
||||
public void synLedgerRunFlag() {
|
||||
|
||||
|
||||
oracleMonitorStatusToMysqlService.monitorStatusSync();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user