1.修改携程 打车 设置 打车类型数据
This commit is contained in:
parent
2ae8305145
commit
2f702c915f
|
@ -139,13 +139,16 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
|
||||
carOrderDetail.setFromCity(depAddress.getCityName());
|
||||
carOrderDetail.setToCity(arrAddress.getCityName());
|
||||
|
||||
Driver driver = orderProduct.getDriver();
|
||||
|
||||
|
||||
carOrderDetail.setCarModel(driver.getDriverVehicleName());
|
||||
|
||||
|
||||
}
|
||||
|
||||
List<ChoosedVehicle> choosedVehicleList = carQuickOrderInfoEntity.getChoosedVehicleList();
|
||||
if (!choosedVehicleList.isEmpty()) {
|
||||
ChoosedVehicle choosedVehicle = choosedVehicleList.get(0);
|
||||
carOrderDetail.setCarModel(choosedVehicle.getVehicleName());
|
||||
}
|
||||
|
||||
|
||||
ApproveOrderNo approveOrderNo = routeOrder.getApproveOrderNo();
|
||||
if (approveOrderNo != null) {
|
||||
|
|
|
@ -213,7 +213,7 @@ public class CTripTest {
|
|||
@Test
|
||||
void search() {
|
||||
BaseContext.setCurrentUser(user);
|
||||
SearchOrderResponse response = orderSearchRequest.searchOrderResponseByOrderId("18367772578");
|
||||
SearchOrderResponse response = orderSearchRequest.searchOrderResponseByOrderId("30352884087");
|
||||
System.out.println(response);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue