每天九点执行订单统计
This commit is contained in:
@@ -19,7 +19,7 @@ public class StatisticTask {
|
|||||||
@Resource
|
@Resource
|
||||||
private ShopOrderStatisticService shopOrderStatisticService;
|
private ShopOrderStatisticService shopOrderStatisticService;
|
||||||
|
|
||||||
// @Scheduled(cron = "0 0 18 * * ?")
|
@Scheduled(cron = "0 0 9 * * ?")
|
||||||
public void run() {
|
public void run() {
|
||||||
shopOrderStatisticService.statistic();
|
shopOrderStatisticService.statistic();
|
||||||
shopProdStatisticService.statistic();
|
shopProdStatisticService.statistic();
|
||||||
|
|||||||
Reference in New Issue
Block a user