日志增加

This commit is contained in:
张松
2025-03-17 10:01:12 +08:00
parent 552f6cbb49
commit 13a6c6013f

View File

@@ -23,9 +23,11 @@ public class StatisticTask {
@Scheduled(cron = "0 0 9 * * ?")
public void run() {
long start = System.currentTimeMillis();
log.info("定时任务执行,开始统计数据");
shopOrderStatisticService.statistic();
shopProdStatisticService.statistic();
shopTableOrderStatisticService.statistic();
log.info("定时任务执行完毕,耗时:{}ms", start - System.currentTimeMillis());
}
}