每天九点执行订单统计
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user