|
|
@ -136,7 +136,7 @@ public class EasBillSchedule { |
|
|
|
* 定时清空单据 |
|
|
|
*/ |
|
|
|
@Async("taskExecutor") |
|
|
|
@Scheduled(cron = "0/86400 * * * * *") |
|
|
|
// @Scheduled(cron = "0/86400 * * * * *")
|
|
|
|
public void autoDeleteTask() { |
|
|
|
LocalDate threeMonthsAgo = LocalDate.now().minusMonths(3); |
|
|
|
String days = threeMonthsAgo.format(DateTimeFormatter.ofPattern("yyyy-MM-dd")); |
|
|
|