|
@@ -30,10 +30,10 @@ public class KuaishouReportAgentJob implements Job {
|
|
private IKuaishouReportDailyAgentService kuaishouReportDailyAgentService;
|
|
private IKuaishouReportDailyAgentService kuaishouReportDailyAgentService;
|
|
@Override
|
|
@Override
|
|
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
|
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
|
-// String currentDate = DateUtils.formatDate(DateUtils.addDay(new Date(),-1));
|
|
|
|
-// kuaishouReportDailyAgentService.getReport(currentDate,currentDate);
|
|
|
|
|
|
+ String currentDate = DateUtils.formatDate(DateUtils.addDay(new Date(),-1));
|
|
|
|
+ kuaishouReportDailyAgentService.getReport(currentDate,currentDate);
|
|
|
|
|
|
- kuaishouReportDailyAgentService.getReport("2019-01-01","2019-12-12");
|
|
|
|
|
|
+ //kuaishouReportDailyAgentService.getReport("2019-01-01","2019-12-12");
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|