Browse Source

feat: 修改执行时间,mybatis-plus.configuration.call-setters-on-nulls=true

weijianghai 10 months ago
parent
commit
8b6ddb6a7d

+ 8 - 0
src/main/java/com/nokia/finance/tasks/config/JobConfig.java

@@ -232,4 +232,12 @@ public class JobConfig {
      * 闲置建筑面积超过1000平米策略输出路径
      */
     private String houseBuildingIdleStrategyOutputPath;
+    /**
+     * 河北成本管理系统车辆服务费数据路径
+     */
+    private String carFuWuFeiSourcePath;
+    /**
+     * 河北成本管理系统车辆服务费数据归档路径
+     */
+    private String carFuWuFeiHistoryPath;
 }

+ 1 - 1
src/main/java/com/nokia/finance/tasks/jobs/car/chengben/CarBaoXianJob.java

@@ -55,7 +55,7 @@ public class CarBaoXianJob {
     /**
      * 执行任务
      */
-    @Scheduled(cron = "0 10 6 9 * ?")
+    @Scheduled(cron = "0 10 6 12 * ?")
     public void runJob() {
         // 数据目录
         Path dir = Paths.get(jobConfig.getCarBaoXianSourcePath());

+ 1 - 1
src/main/java/com/nokia/finance/tasks/jobs/car/chengben/CarDaWeiXiuJob.java

@@ -55,7 +55,7 @@ public class CarDaWeiXiuJob {
     /**
      * 执行任务
      */
-    @Scheduled(cron = "0 12 6 9 * ?")
+    @Scheduled(cron = "0 12 6 12 * ?")
     public void runJob() {
         // 数据目录
         Path dir = Paths.get(jobConfig.getCarDaWeiXiuSourcePath());

+ 1 - 1
src/main/java/com/nokia/finance/tasks/jobs/car/chengben/CarLuQiaoJob.java

@@ -55,7 +55,7 @@ public class CarLuQiaoJob {
     /**
      * 执行任务
      */
-    @Scheduled(cron = "0 14 6 9 * ?")
+    @Scheduled(cron = "0 14 6 12 * ?")
     public void runJob() {
         // 数据目录
         Path dir = Paths.get(jobConfig.getCarLuQiaoSourcePath());

+ 1 - 1
src/main/java/com/nokia/finance/tasks/jobs/car/chengben/CarNianJianFeiJob.java

@@ -55,7 +55,7 @@ public class CarNianJianFeiJob {
     /**
      * 执行任务
      */
-    @Scheduled(cron = "0 16 6 9 * ?")
+    @Scheduled(cron = "0 16 6 12 * ?")
     public void runJob() {
         // 数据目录
         Path dir = Paths.get(jobConfig.getCarNianJianFeiSourcePath());

+ 1 - 1
src/main/java/com/nokia/finance/tasks/jobs/car/chengben/CarQiTaJob.java

@@ -55,7 +55,7 @@ public class CarQiTaJob {
     /**
      * 执行任务
      */
-    @Scheduled(cron = "0 18 6 9 * ?")
+    @Scheduled(cron = "0 18 6 12 * ?")
     public void runJob() {
         // 数据目录
         Path dir = Paths.get(jobConfig.getCarQiTaSourcePath());

+ 1 - 1
src/main/java/com/nokia/finance/tasks/jobs/car/chengben/CarRanYouJob.java

@@ -55,7 +55,7 @@ public class CarRanYouJob {
     /**
      * 执行任务
      */
-    @Scheduled(cron = "0 20 6 9 * ?")
+    @Scheduled(cron = "0 20 6 12 * ?")
     public void runJob() {
         // 数据目录
         Path dir = Paths.get(jobConfig.getCarRanYouSourcePath());

+ 1 - 1
src/main/java/com/nokia/finance/tasks/jobs/car/chengben/CarSiCheGongYongJob.java

@@ -31,7 +31,7 @@ public class CarSiCheGongYongJob {
     /**
      * 执行任务
      */
-    @Scheduled(cron = "0 30 6 9 * ?")
+    @Scheduled(cron = "0 30 6 12 * ?")
     public void runJob() {
         // 数据目录
         Path dir = Paths.get(jobConfig.getCarSiCheGongYongSourcePath());

+ 1 - 1
src/main/java/com/nokia/finance/tasks/jobs/car/chengben/CarWeiXiuJob.java

@@ -55,7 +55,7 @@ public class CarWeiXiuJob {
     /**
      * 执行任务
      */
-    @Scheduled(cron = "0 22 6 9 * ?")
+    @Scheduled(cron = "0 22 6 12 * ?")
     public void runJob() {
         // 数据目录
         Path dir = Paths.get(jobConfig.getCarWeiXiuSourcePath());

+ 1 - 1
src/main/java/com/nokia/finance/tasks/jobs/house/chengben/HouseBuildingRepairMonthJob.java

@@ -46,7 +46,7 @@ public class HouseBuildingRepairMonthJob {
     /**
      * 执行任务
      */
-    @Scheduled(cron = "0 24 6 9 * ?")
+    @Scheduled(cron = "0 24 6 12 * ?")
     public void runJob() {
         // 数据目录
         Path dir = Paths.get(jobConfig.getHouseBuildingRepairMonthSourcePath());

+ 1 - 1
src/main/java/com/nokia/finance/tasks/jobs/house/chengben/HouseRentInRepairMonthJob.java

@@ -31,7 +31,7 @@ public class HouseRentInRepairMonthJob {
     /**
      * 执行任务
      */
-    @Scheduled(cron = "0 32 6 9 * ?")
+    @Scheduled(cron = "0 32 6 12 * ?")
     public void runJob() {
         // 数据目录
         Path dir = Paths.get(jobConfig.getHouseRentInRepairMonthSourcePath());

+ 4 - 0
src/main/resources/application-dev.yml

@@ -126,3 +126,7 @@ job:
     house-rent-in-repair-month-source-path: data/jzftp/E_M_MTC_HOUSELISTED/
     # 河北成本管理系统不动产租赁房产维修数据归档路径
     house-rent-in-repair-month-history-path: data/history/jzftp/E_M_MTC_HOUSELISTED/
+    # 河北成本管理系统车辆服务费数据路径
+    car-fu-wu-fei-source-path: data/jzftp/HE_M_MTC_VEHICLE_CHARGE/
+    # 河北成本管理系统车辆服务费数据归档路径
+    car-fu-wu-fei-history-path: data/history/jzftp/HE_M_MTC_VEHICLE_CHARGE/

+ 4 - 0
src/main/resources/application-prod.yml

@@ -119,3 +119,7 @@ job:
     house-rent-in-repair-month-source-path: /data/jzftp/E_M_MTC_HOUSELISTED/
     # 河北成本管理系统不动产租赁房产维修数据归档路径
     house-rent-in-repair-month-history-path: /data/history/jzftp/E_M_MTC_HOUSELISTED/
+    # 河北成本管理系统车辆服务费数据路径
+    car-fu-wu-fei-source-path: /data/jzftp/HE_M_MTC_VEHICLE_CHARGE/
+    # 河北成本管理系统车辆服务费数据归档路径
+    car-fu-wu-fei-history-path: /data/history/jzftp/HE_M_MTC_VEHICLE_CHARGE/

+ 3 - 0
src/main/resources/application.yml

@@ -0,0 +1,3 @@
+mybatis-plus:
+  configuration:
+    call-setters-on-nulls: true