This commit is contained in:
张良(004796)
2024-01-22 15:53:08 +08:00
parent 73a8977676
commit 1f7dc94398
7 changed files with 55 additions and 31 deletions

View File

@@ -13,7 +13,7 @@ import java.time.LocalDate;
public class IncomeStatisticsJob {
@Autowired
private DayIncomeStatisticsService dayIncomeStatisticsService;
@Scheduled(cron = "0 0/6 * * * ? *")
@Scheduled(cron = "0 0/6 * * * ?")
public void persistentDb() {
try {
dayIncomeStatisticsService.refreshByDate(LocalDate.now());