1.修改飞机数据坐位数据问题
This commit is contained in:
parent
d5e92277b2
commit
1b23c2c5a6
|
@ -162,8 +162,8 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
flightOrderDetail.setDistance(String.valueOf(flightInfo.getTpm()));
|
||||
flightOrderDetail.setFlightCompName(flightInfo.getAirLineName());
|
||||
flightOrderDetail.setFlightNum(flightInfo.getFlight());
|
||||
flightOrderDetail.setSeatPoint(flightInfo.getClassName());
|
||||
flightOrderDetail.setSeatPointName(flightInfo.getFlightClass());
|
||||
flightOrderDetail.setSeatPoint(flightInfo.getFlightClass());
|
||||
flightOrderDetail.setSeatPointName(flightInfo.getClassName());
|
||||
flightOrderDetail.setFlightModel(flightInfo.getFlight());
|
||||
//前后收服务费
|
||||
flightOrderDetail.setPreServiceFee(String.valueOf(flightInfo.getItineraryFee()));
|
||||
|
|
|
@ -140,6 +140,7 @@ public class LYOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
.stream()
|
||||
.filter(it -> it.getOrderNo().equals(flightOrderDetail.getOrderNo()))
|
||||
.findFirst();
|
||||
|
||||
first1.ifPresent(it ->{
|
||||
OrderEvent lastEvent = it.getLastEvent();
|
||||
if(lastEvent != null){
|
||||
|
|
|
@ -788,7 +788,7 @@ public class LYTest {
|
|||
// @Test
|
||||
void search(){
|
||||
FlightOrderResponse t1 = lySearchRequest
|
||||
.getFlightOrderDetail("DFC24031366600525071");
|
||||
.getFlightOrderDetail("DFR24031366553705767");
|
||||
Gson gson = new Gson();
|
||||
String json = gson.toJson(t1);
|
||||
System.out.println(json);
|
||||
|
|
Loading…
Reference in New Issue