@@ -62,7 +62,7 @@ public class DriverInfoServiceImpl extends ServiceImpl<DriverInfoMapper, HyDrive
* 查询上报结果(每分钟执行一次)
*/
@Transactional(rollbackFor = Exception.class)
- @Scheduled(cron = "0 */1 * * * ?")
+// @Scheduled(cron = "0 */1 * * * ?")
public void queryResults() throws IOException {
//查询司机上报结果
@@ -128,10 +128,10 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
private String ENV;
/**
- * 查询订单是否超时(每分钟执行一次)
+ * 查询订单是否超时(每10分钟执行一次)
@Transactional
+ @Scheduled(cron = "0 */10 * * * ?")
public void queryOrderTimeout() {
//查询所有运输中的订单
List<OrderInfo> orderInfoList = this.selectList(new EntityWrapper<OrderInfo>().eq("order_status_key", 13)