|
|
@@ -152,12 +152,13 @@ public class BytedancePromoterReportJob {
|
|
|
@XxlJob("todayMaterialVideoGet")
|
|
|
public void materialVideoGet() throws Exception {
|
|
|
String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
|
|
|
+ String date = DateUtils.getAnotherDay("yyyy-MM-dd", nowDate, -1);
|
|
|
List<JSONObject> costAccount = productReportService.getCostAccount(null, nowDate, nowDate);
|
|
|
for (JSONObject jsonObject : costAccount) {
|
|
|
dailyExecutorService.submit(() -> {
|
|
|
Long adverId = jsonObject.getLong("advertiserId");
|
|
|
String accessToken = jsonObject.getString("accessToken");
|
|
|
- bytedanceMaterialReportService.getBytedanceMaterialVideo(adverId, null, accessToken, null, null, 1, null, 1, 0, 1);
|
|
|
+ bytedanceMaterialReportService.getBytedanceMaterialVideo(adverId, null, accessToken, date, nowDate, 1, null, 1, 0, 1);
|
|
|
});
|
|
|
}
|
|
|
}
|