Pu Zhibing
2 天以前 f72ae151cc12b219cb5f39eea3ec0ea089a6ef2a
UserQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/api/OrderController.java
@@ -1471,7 +1471,9 @@
                    case 1:
                        OrderPrivateCar orderPrivateCar = orderPrivateCarService.selectById(orderId);
                        orderPrivateCar.setState(9);
                        orderPrivateCar.setPayTime(new Date());
                        orderPrivateCarService.updateById(orderPrivateCar);
                        if(ToolUtil.isNotEmpty(orderPrivateCar.getTravelId())){
                        Driver driver1 = null;
                        Company company = null;
                        //中台修改订单状态
@@ -1489,6 +1491,7 @@
                            request.setPromoterId(driver2.getEmpId().toString());
                        }
                        OrderUtil.modifyTravelItinerary(request);
                        }
                        new Thread(new Runnable() {
                            @Override
                            public void run() {
@@ -1502,7 +1505,9 @@
                    case 2:
                        OrderTaxi orderTaxi = orderTaxiService.selectById(orderId);
                        orderTaxi.setState(9);
                        orderTaxi.setPayTime(new Date());
                        orderTaxiService.updateById(orderTaxi);
                        if(ToolUtil.isNotEmpty(orderTaxi.getTravelId())){
                        Driver driver = null;
                        Company company1 = null;
                        //中台修改订单状态
@@ -1520,6 +1525,7 @@
                            request2.setPromoterId(driver2.getEmpId().toString());
                        }
                        OrderUtil.modifyTravelItinerary(request2);
                        }
                        break;
                    case 3:
                        OrderCrossCity orderCrossCity = orderCrossCityService.selectById(orderId);
@@ -2173,7 +2179,6 @@
            if (orderNo.contains("PR")) {
                orderNo = orderNo.substring(2);
                orderPrivateCarService.payOrderPrivateCarCallback(Integer.valueOf(orderNo), payId, 1);
                orderPrivateCarService.promotion(Integer.valueOf(orderNo));
            }
            //出租车
            if (orderNo.contains("TA")) {