每天九点执行订单统计

This commit is contained in:
张松
2025-03-12 10:18:39 +08:00
parent 8820338941
commit 7de83f5dc9

View File

@@ -19,7 +19,7 @@ public class StatisticTask {
@Resource
private ShopOrderStatisticService shopOrderStatisticService;
// @Scheduled(cron = "0 0 18 * * ?")
@Scheduled(cron = "0 0 9 * * ?")
public void run() {
shopOrderStatisticService.statistic();
shopProdStatisticService.statistic();