同程机票改签流程字段调整

This commit is contained in:
dengwc 2024-03-14 21:42:42 +08:00
parent 26064389f1
commit 98ebe2ca54
1 changed files with 2 additions and 2 deletions

View File

@ -312,8 +312,8 @@ public class OrderDomainService {
FlightOrderResponse flightOrderResponse = lySearchRequest.getFlightOrderDetail(orderDetail.getOrderNo());
//原订单
String originalOrderNo = flightOrderResponse.getData().getOrderDetails().getOriginalOrderNo();
OrderDetail orderDetailOld = jdbcOrderDetailRepository.findFirstByOrderNo(originalOrderNo);
String parentOrderSerialNo = flightOrderResponse.getData().getOrderDetails().getParentOrderSerialNo();
OrderDetail orderDetailOld = jdbcOrderDetailRepository.findFirstByOrderNo(parentOrderSerialNo);
String startTime = orderDetailOld.getStartTime().format(formatter);
rescheduleDto.setStartTime(startTime);
rescheduleDto.setOrderType(RESCHEDULE_TYPE_FLIGHT);