|
@@ -11,6 +11,7 @@ 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.log.XxlJobLogger;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
@@ -128,7 +129,9 @@ public class KuaiShouDailyReportTaskServiceImpl extends ServiceImpl<KuaiShouDail
|
|
|
Thread.sleep(1 * 1000);
|
|
|
reportDailyCreativeMapper.formatCreativeDailyReportData(task.getAccountId(), task.getStatDate());
|
|
|
} else if (task.getViewType() == 10) {
|
|
|
+ XxlJobLogger.log("下载文件,accountId:{}", task.getAccountId());
|
|
|
reportDailyCreativeMapper.loadProgramCreativeDailyReport(task.getAccountId(), localPath);
|
|
|
+ XxlJobLogger.log("下载结束,accountId:{}", task.getAccountId());
|
|
|
}
|
|
|
}
|
|
|
|