|
@@ -57,6 +57,9 @@ public class BytedanceDailyMaterialReportJob {
|
|
|
bytedanceReportService.bytedanceVideoMaterialReport(token, date2, date2);
|
|
|
bytedanceReportService.bytedanceVideoMaterialReport(token, date, date);
|
|
|
XxlJobHelper.log("账户"+token.getAccountId() + "素材报表数据任务完成,任务时间:" + date + "~" + date2);
|
|
|
+ bytedanceReportMaterialDailyMapper.updateImageReportCode(token.getAccountId());
|
|
|
+ bytedanceReportMaterialDailyMapper.updateImageReportProjectId(token.getAccountId());
|
|
|
+ bytedanceReportMaterialDailyMapper.updateImageReportProjectName(token.getAccountId());
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
} finally {
|
|
@@ -70,9 +73,6 @@ public class BytedanceDailyMaterialReportJob {
|
|
|
} catch (InterruptedException e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
- bytedanceReportMaterialDailyMapper.updateImageReportCode();
|
|
|
- bytedanceReportMaterialDailyMapper.updateImageReportProjectId();
|
|
|
- bytedanceReportMaterialDailyMapper.updateImageReportProjectName();
|
|
|
Long end = System.currentTimeMillis();
|
|
|
XxlJobHelper.log("头条素材数据获取耗时:{}毫秒", end - start);
|
|
|
|