|
@@ -38,7 +38,7 @@ public class ReInitDeskStatusTask {
|
|
@Scheduled(cron = "0 */15 0-23 * * ?")
|
|
@Scheduled(cron = "0 */15 0-23 * * ?")
|
|
@Transactional(rollbackFor = Exception.class)
|
|
@Transactional(rollbackFor = Exception.class)
|
|
public void run() throws InterruptedException {
|
|
public void run() throws InterruptedException {
|
|
- log.info("========每日凌晨初始化未使用的预定订单定时任务=====开始执行=======");
|
|
|
|
|
|
+ log.debug("========每日凌晨初始化未使用的预定订单定时任务=====开始执行=======");
|
|
List<TmOrder> unUsedOrderList = orderService.getUnUserOrder();
|
|
List<TmOrder> unUsedOrderList = orderService.getUnUserOrder();
|
|
int orderCount = 0;
|
|
int orderCount = 0;
|
|
if (!CollectionUtils.isEmpty(unUsedOrderList)) {
|
|
if (!CollectionUtils.isEmpty(unUsedOrderList)) {
|
|
@@ -53,6 +53,6 @@ public class ReInitDeskStatusTask {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- log.info("========每日凌晨初始化未使用的预定订单定时任务=====执行完成{}个订单=======", orderCount);
|
|
|
|
|
|
+ log.debug("========每日凌晨初始化未使用的预定订单定时任务=====执行完成{}个订单=======", orderCount);
|
|
}
|
|
}
|
|
}
|
|
}
|