|
|
|
@ -26,7 +26,7 @@ public class DBSaleAnalysisTask {
|
|
|
|
|
|
|
|
|
|
@Scheduled(cron = "0 0 10 * * ?")
|
|
|
|
|
public void dailyReportAutoGenerateReport() {
|
|
|
|
|
synchronizedScheduler.executeProcess("manage_task:dailyReportAutoGenerateReport", 120_000, () -> {
|
|
|
|
|
synchronizedScheduler.executeProcess("manage_task:dailyDBSaleReportAutoGenerateReport", 120_000, () -> {
|
|
|
|
|
Date yesterday = DateUtils.addDays(new Date(), -1);
|
|
|
|
|
bdAnalysisService.generateReport(DateFormatUtils.format(yesterday, "yyyy-MM-dd"));
|
|
|
|
|
});
|
|
|
|
|