| | |
| | | * @throws Exception |
| | | */ |
| | | @Override |
| | | public ResultUtil process(Integer orderId, Integer state, Double lon, Double lat, String address,Integer payManner) throws Exception { |
| | | public ResultUtil process(Integer orderId, Integer state, Double lon, Double lat, String address) throws Exception { |
| | | OrderPrivateCar orderPrivateCar = this.selectById(orderId); |
| | | System.err.println("==========="+orderId); |
| | | switch (state){ |
| | |
| | | orderPrivateCar.setGetoffAddress(address); |
| | | orderPrivateCar.setGetoffTime(new Date()); |
| | | orderPrivateCar.setEndServiceTime(new Date()); |
| | | orderPrivateCar.setPayManner(payManner); |
| | | if(payManner==2){ |
| | | orderPrivateCar.setState(8); |
| | | } |
| | | |
| | | |
| | | // //设置结束的时候的经纬度 |
| | | // if (orderPrivateCar.getEndLat()!=null){ |