添加pq同步设备状态批处理

This commit is contained in:
hzj
2024-05-13 15:36:20 +08:00
parent 5c94531830
commit 6b352d62e1
9 changed files with 302 additions and 9 deletions

View File

@@ -100,7 +100,7 @@ public class OracleToInfluxDBJob {
* 每天同步台账装置的运行状态,监测点的运行状态
* @date 2024/3/5
*/
@Scheduled(cron="0 20 0 * * ?")
@Scheduled(cron="0 0/10 * * * ?")
public void synLedgerRunFlag() {
oracleMonitorStatusToMysqlService.monitorStatusSync();
}

View File

@@ -72,7 +72,7 @@ spring:
password: Pqsadmin123
driver-class-name: oracle.jdbc.driver.OracleDriver
target:
url: jdbc:mysql://192.168.1.102:13306/pqsinfo?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=CTT
url: jdbc:mysql://192.168.1.24:13306/pqsinfo_jb?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=CTT
username: root
password: njcnpqs
driver-class-name: com.mysql.cj.jdbc.Driver
@@ -85,9 +85,9 @@ mybatis-plus:
#驼峰命名
map-underscore-to-camel-case: true
#配置sql日志输出
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
#关闭日志输出
log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
# log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
global-config:
db-config:
#指定主键生成策略