| | |
| | | * @throws Exception |
| | | */ |
| | | @Override |
| | | public ResultUtil process(Integer orderId, Integer state, Double lon, Double lat, String address) throws Exception { |
| | | public ResultUtil process(Integer orderId, Integer state, Double lon, Double lat, String address,Integer payManner) throws Exception { |
| | | OrderTaxi orderTaxi = this.selectById(orderId); |
| | | switch (state){ |
| | | case 3://出发前往预约点 |
| | |
| | | orderTaxi.setState(6); |
| | | orderTaxi.setEndServiceTime(new Date()); |
| | | |
| | | orderTaxi.setPayManner(payManner); |
| | | if(payManner==2){ |
| | | orderTaxi.setState(8); |
| | | } |
| | | |
| | | pushUtil.removeTask(orderId, 2);//删除定时任务,结束推送数据 |
| | | systemNoticeService.addSystemNotice(1, "司机已结束本次行程,谢谢使用", orderTaxi.getUserId()); |
| | | break; |