This commit is contained in:
张良(004796)
2024-03-08 16:15:16 +08:00
parent 42814d5564
commit 00e5cfb288
6 changed files with 63 additions and 6 deletions

View File

@@ -13,6 +13,8 @@ import java.time.LocalDate;
public class IncomeStatisticsJob {
@Autowired
private DayIncomeStatisticsService dayIncomeStatisticsService;
// 每6分钟执行一次
@Scheduled(cron = "0 0/6 * * * ?")
public void persistentDb() {
try {