| | |
| | | return ResultUtil.error("订单已被抢了"); |
| | | } |
| | | OrderTaxi orderTaxi = null; |
| | | if(null != orderPrivateCar1 && orderPrivateCar1.getType() == 3 && orderPrivateCar1.getState() == 1&& orderPrivateCar1.getState() == 11){ |
| | | if(null != orderPrivateCar1 && orderPrivateCar1.getType() == 3 && (orderPrivateCar1.getState() == 1|| orderPrivateCar1.getState() == 11)){ |
| | | orderPrivateCarService.deleteById(orderId); |
| | | OrderTaxi orderTaxi1 = setOrderTaxi(orderPrivateCar1); |
| | | this.insert(orderTaxi1); |
| | |
| | | orderTaxi.setStartServiceTime(date); |
| | | orderTaxi.setBoardingTime(date); |
| | | |
| | | String value = (String) redisTemplate.opsForValue().get("DRIVER" + uid); |
| | | String value = (String) redisTemplate.opsForValue().get("dache:DRIVER" + uid); |
| | | if (ToolUtil.isNotEmpty(value)) { |
| | | String[] split = value.split(","); |
| | | Map<String, String> geocode1 = gdMapGeocodingUtil.geocode(split[0], split[1]); |