| | |
| | | import com.stylefeng.guns.modular.smallLogistics.model.OrderLogisticsSpread; |
| | | import com.stylefeng.guns.modular.smallLogistics.server.IOrderLogisticsService; |
| | | import com.stylefeng.guns.modular.smallLogistics.server.IOrderLogisticsSpreadService; |
| | | import com.stylefeng.guns.modular.specialTrain.model.OrderPrivateCar; |
| | | import com.stylefeng.guns.modular.system.dao.CarMapper; |
| | | import com.stylefeng.guns.modular.system.dao.RegionMapper; |
| | | import com.stylefeng.guns.modular.system.dao.UserInfoMapper; |
| | |
| | | System.err.println("预支付数据异常(orderId = " + id + ")"); |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 处理乘客修改终点 |
| | | * @param orderId |
| | | * @param status |
| | | */ |
| | | @Override |
| | | public void updateEndAddress(Integer orderId, Integer status) { |
| | | OrderLogistics orderLogistics = this.selectById(orderId); |
| | | if(2 == status){ |
| | | orderLogistics.setEndLon(Double.valueOf(orderLogistics.getDestinationLon())); |
| | | orderLogistics.setEndLat(Double.valueOf(orderLogistics.getDestinationLat())); |
| | | orderLogistics.setEndAddress(orderLogistics.getDestination()); |
| | | } |
| | | orderLogistics.setDestinationLon(""); |
| | | orderLogistics.setDestination(""); |
| | | orderLogistics.setDestinationLat(""); |
| | | this.updateById(orderLogistics); |
| | | pushUtil.pushModifyAddress(1, orderLogistics.getUserId(), orderId, 4, status); |
| | | } |
| | | } |