|
@@ -25,6 +25,8 @@ public class KuaishouDailyReportLoadJob implements Job {
|
|
private IKuaishouInterfaceService kuaishouInterfaceService;
|
|
private IKuaishouInterfaceService kuaishouInterfaceService;
|
|
@Override
|
|
@Override
|
|
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
|
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
|
|
|
+// Date deleteDate = DateUtils.addDay(new Date(), -2);
|
|
|
|
+// kuaishouInterfaceService.deleteHourlyReport(deleteDate);
|
|
Date getDate = DateUtils.addDay(new Date(), -1);
|
|
Date getDate = DateUtils.addDay(new Date(), -1);
|
|
//1:查询当日数据
|
|
//1:查询当日数据
|
|
List<CtopOauthToken> tokens = tokenService.getTokenListByType(CtopAdConstant.PLATFORM_TYPE_KUAISHOU);
|
|
List<CtopOauthToken> tokens = tokenService.getTokenListByType(CtopAdConstant.PLATFORM_TYPE_KUAISHOU);
|
|
@@ -44,7 +46,7 @@ public class KuaishouDailyReportLoadJob implements Job {
|
|
kuaishouInterfaceService.getAdvertiserGroupReportDaily(token, getDate, getDate);
|
|
kuaishouInterfaceService.getAdvertiserGroupReportDaily(token, getDate, getDate);
|
|
//4: 获取广告创意信息数据
|
|
//4: 获取广告创意信息数据
|
|
kuaishouInterfaceService.getAdvertiserCreativeReportDaily(token, getDate, getDate);
|
|
kuaishouInterfaceService.getAdvertiserCreativeReportDaily(token, getDate, getDate);
|
|
-
|
|
|
|
|
|
+// kuaishouInterfaceService.loadAdvertiserCreativeReportDailyStatistic(token, getDate);
|
|
});
|
|
});
|
|
}
|
|
}
|
|
}
|
|
}
|