Просмотр исходного кода

修改xxl-job 执行器名称
添加泰康信息

785834757 2 лет назад
Родитель
Сommit
3b6d2dcbdc

+ 1 - 1
src/main/java/com/ydtech/modules/xxl/factory/QueryStatusFactory.java

@@ -64,7 +64,7 @@ public class QueryStatusFactory {
                     (PtlAgreementAttributionService) map.get("ptlAgreementAttributionService"),
                     (ZijinOrderApiService) map.get("zijinOrderApiService"));
         } else if(companyId.startsWith("TPBX1000000") || companyId.startsWith("TPIC1000000") || companyId.startsWith("HBIC1000000") || companyId.startsWith("GPIC1000000") ||
-                    companyId.startsWith("HNIC1000000") || companyId.startsWith("ZAPA1000000")){
+                    companyId.startsWith("HNIC1000000") || companyId.startsWith("ZAPA1000000") || companyId.startsWith("TKIC1000000")){
             //安盛财险、 太平财险、 恒邦财险 、中国人寿
             //华农财险 、众安
             return new InsCrawlerQueryStatusService(

+ 1 - 1
src/main/resources/application-prod.yml

@@ -314,7 +314,7 @@ xxl:
       accessToken:
     executor:
       # 执行器的应用名称
-      appname: xxl-job-executor-sample
+      appname: jinzhanggui-scheduler
       # 执行器注册 [选填]:优先使用该配置作为注册地址
       address: ""
       # 执行器IP [选填]:默认为空表示自动获取IP