|
@@ -20,8 +20,9 @@ public class KuaiShouYesterdayAgentReportJob {
|
|
@XxlJob("kuaiShouYesterdayAgentReportJob")
|
|
@XxlJob("kuaiShouYesterdayAgentReportJob")
|
|
public void execute() throws Exception {
|
|
public void execute() throws Exception {
|
|
String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
|
|
String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
|
|
- String yesterday = DateUtils.getAnotherDay("yyyy-MM-dd", nowDate, -1);
|
|
|
|
- kuaiShouDailyAgentService.getAgentReportByPage(yesterday, yesterday);
|
|
|
|
|
|
+ String endDate = DateUtils.getAnotherDay("yyyy-MM-dd", nowDate, -1);
|
|
|
|
+ String startDate = DateUtils.getAnotherDay("yyyy-MM-dd", nowDate, -2);
|
|
|
|
+ kuaiShouDailyAgentService.getAgentReportByPage(startDate, endDate);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|