Upd:修改定时任务键名称

master
duLingLing 5 years ago
parent 6740488ef1
commit 52091e5de8

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId>
<version>1.1.17</version>
<version>1.1.18</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

@ -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"));
});

Loading…
Cancel
Save