同步机票退款代码
This commit is contained in:
parent
9b57083795
commit
c65f245406
|
@ -232,7 +232,8 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
|
||||
List<FlightRefundInfo> flightRefundInfoList = flightOrderInfoEntity.getRefundInfo();
|
||||
FlightRefundInfo flightRefundInfo=new FlightRefundInfo();
|
||||
if (flightRefundInfoList.size() > 1) {
|
||||
|
||||
if (flightRefundInfoList != null && flightRefundInfoList.size() > 1) {
|
||||
flightRefundInfo = flightRefundInfoList.get(0);
|
||||
}
|
||||
FlightOrderFeeDetail flightOrderFeeDetail = null;
|
||||
|
@ -394,9 +395,7 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
Optional<OrderEvent> first1 = orderDetail.getOrderEventList()
|
||||
.stream()
|
||||
.findFirst();
|
||||
if (first1 != null){
|
||||
flightOrderDetail.setOverStandardReason(first1.get().getExtension());
|
||||
}
|
||||
first1.ifPresent(orderEvent -> flightOrderDetail.setOverStandardReason(orderEvent.getExtension()));
|
||||
|
||||
// flightOrderDetail.setPostServiceFee();
|
||||
// flightOrderDetail.setParentOrderNo();
|
||||
|
|
Loading…
Reference in New Issue