yumeng před 4 roky
rodič
revize
c7fad1256f

+ 4 - 2
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/service/impl/KuaiShouHistoryReportTaskServiceImpl.java

@@ -16,6 +16,8 @@ import com.alibaba.fastjson.JSONArray;
 import com.alibaba.fastjson.JSONObject;
 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.xxl.job.core.handler.annotation.XxlJob;
+import com.xxl.job.core.log.XxlJobLogger;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Value;
@@ -218,9 +220,9 @@ public class KuaiShouHistoryReportTaskServiceImpl extends ServiceImpl<KuaiShouHi
                     reportDailyCreativeMapper.loadCreativeDailyReport(task.getAccountId(), localPath);
                     reportDailyCreativeMapper.formatCreativeDailyReportData(task.getAccountId(), null);
                 } else if (task.getViewType() == 10) {
-                    log.info("下载文件,accountId:{}", task.getAccountId());
+                    XxlJobLogger.log("下载文件,accountId:{}", task.getAccountId());
                     reportDailyCreativeMapper.loadProgramCreativeDailyReport(task.getAccountId(), localPath);
-                    log.info("下载结束,accountId:{}", task.getAccountId());
+                    XxlJobLogger.log("下载结束,accountId:{}", task.getAccountId());
                     // 程序化报表
                 }
             }