|
@@ -31,7 +31,7 @@ public class AdqAccountReportJob {
|
|
|
private static ExecutorService nowDateHourExecutorService = Executors.newFixedThreadPool(5);
|
|
private static ExecutorService nowDateHourExecutorService = Executors.newFixedThreadPool(5);
|
|
|
private static ExecutorService yesDateHourExecutorService = Executors.newFixedThreadPool(5);
|
|
private static ExecutorService yesDateHourExecutorService = Executors.newFixedThreadPool(5);
|
|
|
private static ExecutorService dailyExecutorService = Executors.newFixedThreadPool(5);
|
|
private static ExecutorService dailyExecutorService = Executors.newFixedThreadPool(5);
|
|
|
- private static ExecutorService dailyMaterialExecutorService = Executors.newFixedThreadPool(5);
|
|
|
|
|
|
|
+ private static ExecutorService materialDailyExecutorService = Executors.newFixedThreadPool(5);
|
|
|
|
|
|
|
|
@XxlJob("nowDateAccountHour")
|
|
@XxlJob("nowDateAccountHour")
|
|
|
public void nowDateAccountHour() throws Exception {
|
|
public void nowDateAccountHour() throws Exception {
|
|
@@ -114,7 +114,7 @@ public class AdqAccountReportJob {
|
|
|
String[] s = param.split("_");
|
|
String[] s = param.split("_");
|
|
|
Long advertiserId = Long.valueOf(s[0]);
|
|
Long advertiserId = Long.valueOf(s[0]);
|
|
|
String accessToken = s[1];
|
|
String accessToken = s[1];
|
|
|
- dailyMaterialExecutorService.submit(new Runnable() {
|
|
|
|
|
|
|
+ materialDailyExecutorService.submit(new Runnable() {
|
|
|
@Override
|
|
@Override
|
|
|
public void run() {
|
|
public void run() {
|
|
|
adqMaterialReportService.getAdqMaterialDailyReport(advertiserId, accessToken, yesDate, yesDate, 1, 1, null, 0);
|
|
adqMaterialReportService.getAdqMaterialDailyReport(advertiserId, accessToken, yesDate, yesDate, 1, 1, null, 0);
|