Ver Fonte

修改约会吧数据清洗任务

syh há 5 anos atrás
pai
commit
15df058863

+ 2 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/job/BytedancePlanHourlyReportLoadJob.java

@@ -72,8 +72,10 @@ public class BytedancePlanHourlyReportLoadJob implements Job {
         if (null != hour && "00".equals(hour)) {
             Date lastday = DateUtils.addDay(getDate, -1);
             planDailyReportService.cleanYddHourlyChannelCode(113, lastday);
+            planDailyReportService.cleanYddHourlyChannelCode(419, lastday);
         }
         planDailyReportService.cleanYddHourlyChannelCode(113, getDate);
+        planDailyReportService.cleanYddHourlyChannelCode(419, getDate);
 
         log.info("头条计划时报数据获取完成");
         executorService.shutdown();

+ 2 - 0
module-job-bytedance/src/main/java/cn/com/ctop/job/bytedance/handler/BytedancePlanHourlyReportLoadJob.java

@@ -69,8 +69,10 @@ public class BytedancePlanHourlyReportLoadJob {
         if (null != hour && "00".equals(hour)) {
             Date lastday = DateUtils.addDay(getDate, -1);
             planDailyReportService.cleanYddHourlyChannelCode(113, lastday);
+            planDailyReportService.cleanYddHourlyChannelCode(419, lastday);
         }
         planDailyReportService.cleanYddHourlyChannelCode(113, getDate);
+        planDailyReportService.cleanYddHourlyChannelCode(419, getDate);
 
         XxlJobLogger.log("头条时报数据获取结束");
         executorService.shutdown();

+ 0 - 14
module-job-kuaishou/src/main/resources/application-prod.yml

@@ -1,11 +1,3 @@
-server:
-  port: 8080
-  ip: 39.97.120.42
-  servlet:
-    context-path: /jeecg-boot
-    compression:
-      enabled: true
-      mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
 management:
   endpoints:
     web:
@@ -103,12 +95,6 @@ spring:
           username: hcst
           password: test@20190531
           driver-class-name: com.mysql.jdbc.Driver
-          # 多数据源配置
-          #multi-datasource1:
-          #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
-          #username: root
-          #password: root
-          #driver-class-name: com.mysql.jdbc.Driver
   #redis 配置
   redis:
     database: 0

+ 0 - 17
module-job-kuaishou/src/main/resources/application-test.yml

@@ -1,18 +1,8 @@
-server:
-  port: 8080
-  ip: 39.106.184.70
-  servlet:
-    context-path: /jeecg-boot
-    compression:
-      enabled: true
-      mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
-
 management:
   endpoints:
     web:
       exposure:
         include: metrics,httptrace
-
 spring:
   rabbitmq:
     host: 39.106.184.70
@@ -102,11 +92,6 @@ spring:
           password: test@20190531
           driver-class-name: com.mysql.jdbc.Driver
           # 多数据源配置
-          #multi-datasource1:
-          #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
-          #username: root
-          #password: root
-          #driver-class-name: com.mysql.jdbc.Driver
   #redis 配置
   redis:
     database: 0
@@ -161,8 +146,6 @@ logging:
 chrome:
   script:
     clean: sh /mnt/webapp/cleanProcess.sh
-
-
 oss:
   replace:
     replace-value: oss-cn-beijing-internal

+ 2 - 2
module-job-kuaishou/src/main/resources/application.yml

@@ -1,5 +1,5 @@
 server:
-  port: 8091
+  port: 8092
 spring:
   profiles:
     active: @activatedProperties@
@@ -16,7 +16,7 @@ xxl:
     accessToken:
     executor:
       appname: module-job-kuaishou
-      port: 9998
+      port: 9997
       ip:
       logpath: /data/applogs/xxl-job/jobhandler
       logretentiondays: 30