| | |
| | | orderService.taskMidAxbUnBindSend(); |
| | | //处理司机连续不接单的情况 |
| | | driverOnlineService.deductionDuration1(); |
| | | //处理google订单状态 |
| | | orderService.overGoogleOrder(); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | |
| | | @Scheduled(fixedRate = 1000 * 60 * 5) |
| | | public void taskFiveMinute(){ |
| | | try { |
| | | //处理未支付订单发送短信通知 |
| | | orderService.taskSmsSend(); |
| | | for (Integer id: driverIds){ |
| | | jgPushUtil.push(1, "您的预约订单出行时间就要到了,请尽快前往预约地点接乘客", "DRIVER" + id); |
| | | } |
| | | this.driverIds.clear(); |
| | | // //处理未支付订单发送短信通知 |
| | | // orderService.taskSmsSend(); |
| | | // for (Integer id: driverIds){ |
| | | // jgPushUtil.push(1, "您的预约订单出行时间就要到了,请尽快前往预约地点接乘客", "DRIVER" + id); |
| | | // } |
| | | // this.driverIds.clear(); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |