|
@ -251,6 +251,7 @@ public class JobService {
|
|
|
params.put("yesterday", yesterday);
|
|
|
if (!StringUtils.isEmpty(quartzJobConfig.getJobClass())) {
|
|
|
quartzHelper.startNow(getRightClass(quartzJobConfig), quartzJobConfig.getId() + UUID.randomUUID().toString().replace("-",""), params);
|
|
|
Thread.sleep(20000L);
|
|
|
}
|
|
|
}
|
|
|
|
|
@ -308,6 +309,7 @@ public class JobService {
|
|
|
int day=daysBetween(startDate,endDate);
|
|
|
for(int i=0;i<day;i++){
|
|
|
productDataByOneDay(getYesterday(i,startDate));
|
|
|
|
|
|
}
|
|
|
}
|
|
|
public static String getYesterday(Integer day,Date startDate) {
|