Commit c7ee4031 authored by hanfeng's avatar hanfeng

修改定时统计订单数据

parent 9cc46b5c
......@@ -619,10 +619,11 @@ public class BaseOrderBiz extends BaseBiz<BaseOrderMapper,BaseOrder> {
log.error(e.getMessage(), e);
}
}
@Scheduled(cron = "0 0 2 * * ? ")
private void countDailyOrdersRegularly(){
DailyOrderStatistics dailyOrderStatistics= mapper.getTotalOrder();
}
// @Scheduled(cron = "0 0 2 * * ? ")
// private void countDailyOrdersRegularly(){
// DailyOrderStatistics dailyOrderStatistics= mapper.getTotalOrder();
// }
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment