Browse Source

fit:

master
pengwei 5 months ago
parent
commit
9cda602075
  1. 2
      src/main/java/com/biutag/supervision/job/Job.java
  2. 2
      src/main/resources/application-dev.yml
  3. 2
      src/main/resources/application-prod.yml

2
src/main/java/com/biutag/supervision/job/Job.java

@ -260,7 +260,7 @@ public class Job {
private SupRotaMapper supRotaMapper; private SupRotaMapper supRotaMapper;
//每天一次 00:20:00 //每天一次 00:20:00
//值班人员 //值班人员
@Scheduled(cron = "0 20 00 * * ?") // @Scheduled(cron = "0 20 00 * * ?")
public void operator(){ public void operator(){
log.info("operator--------------------"); log.info("operator--------------------");
log.info("值班人员抓取中---------------------"); log.info("值班人员抓取中---------------------");

2
src/main/resources/application-dev.yml

@ -51,7 +51,7 @@ spring:
zbdm: zbdm:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: dm.jdbc.driver.DmDriver driver-class-name: dm.jdbc.driver.DmDriver
url: jdbc:dm://65.32.34.9:5237?SCHEMA=JSDZ_4GDB url: jdbc:dm://65.32.34.9:5237?SCHEMA=CSGA110
username: dczd_cx username: dczd_cx
password: dczd#110110 password: dczd#110110
data: data:

2
src/main/resources/application-prod.yml

@ -47,7 +47,7 @@ spring:
zbdm: zbdm:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: dm.jdbc.driver.DmDriver driver-class-name: dm.jdbc.driver.DmDriver
url: jdbc:dm://65.32.34.9:5237?SCHEMA=JSDZ_4GDB url: jdbc:dm://65.32.34.9:5237?SCHEMA=CSGA110
username: dczd_cx username: dczd_cx
password: dczd#110110 password: dczd#110110
druid: druid:

Loading…
Cancel
Save