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