Upd:每日报表发送时间提前1小时

master
duLingLing 5 years ago
parent fdb35bf7a7
commit 130f3e1f2a

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

@ -25,7 +25,7 @@ public class DailyReportGenerationTask {
@Resource @Resource
private SynchronizedScheduler synchronizedScheduler; private SynchronizedScheduler synchronizedScheduler;
@Scheduled(cron = "0 0 10 * * ?") @Scheduled(cron = "0 0 9 * * ?")
public void dailyReportAutoGenerateReport() { public void dailyReportAutoGenerateReport() {
synchronizedScheduler.executeProcess("manage_task:dailyReportAutoGenerateReport", 120_000, () -> { synchronizedScheduler.executeProcess("manage_task:dailyReportAutoGenerateReport", 120_000, () -> {
Date yesterday = DateUtils.addDays(new Date(), -1); Date yesterday = DateUtils.addDays(new Date(), -1);

Loading…
Cancel
Save