|
|
@@ -44,9 +44,13 @@ public class BytedanceCdpProjectJob {
|
|
|
if (!Check.isNull(ids)) {
|
|
|
log.info("总数:{}", ids.size());
|
|
|
// ids.forEach(id -> allService.submit(() -> cdpProjectService.getProjectList(id, null, null, null)));
|
|
|
- ids.forEach(id -> createiveAppsExecutorService.submit(() -> cdpProjectService.getAdqCreatives(id, "2025-07-09", "2025-07-09")));
|
|
|
-
|
|
|
+// ids.forEach(id -> createiveAppsExecutorService.submit(() -> cdpProjectService.getAdqCreatives(id, "2025-07-09", "2025-07-09")));
|
|
|
|
|
|
+ List<String> days = DateUtils.getDays("2025-06-01", "2025-07-22");
|
|
|
+ for (String day : days) {
|
|
|
+ ids.forEach(id -> projectExecutorService.submit(() -> cdpProjectService.getProjectList(id, null, null, day)));
|
|
|
+ ids.forEach(id -> promExecutorService.submit(() -> cdpProjectService.getpromotionList(id, null, day)));
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -167,7 +171,7 @@ public class BytedanceCdpProjectJob {
|
|
|
for (JSONObject iid : iids) {
|
|
|
Long pageId = iid.getLong("page_id");
|
|
|
Long advertiserId = iid.getLong("advertiser_id");
|
|
|
- pageAppsExecutorService.submit(() -> cdpProjectService.getAdqWechatPages(advertiserId,pageId));
|
|
|
+ pageAppsExecutorService.submit(() -> cdpProjectService.getAdqWechatPages(advertiserId, pageId));
|
|
|
}
|
|
|
}
|
|
|
} catch (Exception e) {
|