1.修改飞机到达时间和起飞时间显示

This commit is contained in:
wanglf3 2024-03-13 18:14:26 +08:00
parent e7884bd855
commit f052b5ea01
3 changed files with 2 additions and 21 deletions

View File

@ -52,10 +52,7 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
@Override
public FlightOrderDetail createFlightOrderDetail(Object flightOrderDetailData) {
// return null;
FlightOrderInfoEntity flightOrderInfoEntity = (FlightOrderInfoEntity) flightOrderDetailData;
// FlightOrderFeeDetailList
BasicInfo flightOrderBasicInfo = flightOrderInfoEntity.getBasicInfo();
@ -76,10 +73,8 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
if (!flightOrderInfoEntity.getPassengerInfo().isEmpty()) {
passengerInfo = flightOrderInfoEntity.getPassengerInfo().get(0);
passengerBasic = passengerInfo.getPassengerBasic();
if (passengerInfo.getSequenceInfo() != null && !passengerInfo.getSequenceInfo().isEmpty()) {
sequenceInfo = passengerInfo.getSequenceInfo().get(0);
if (!sequenceInfo.getChangeInfo().isEmpty()) {
changeInfo = sequenceInfo.getChangeInfo().get(0);
}
@ -114,7 +109,6 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
}
if (sysCode.equals(BELONG_SYS_CODE_H3BPM)) {
flightOrderDetail.setBelongSysType(BELONG_SYS_TYPE_H3BPM);
}
if (sysCode.equals(BELONG_SYS_CODE_XNFSSC)) {
flightOrderDetail.setBelongSysType(BELONG_SYS_TYPE_XNFSSC);
@ -139,7 +133,6 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
flightOrderDetail.setUserCode(flightOrderBasicInfo.getEmployeeID());
flightOrderDetail.setOrderAmount(String.valueOf(flightOrderBasicInfo.getAmount()));
if (flightOrderBasicInfo.getPrepayType().equals("ACCNT")) {
flightOrderDetail.setPaymentType("0");
} else {
@ -183,14 +176,12 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
flightOrderDetail.setNotBookedLowestPriceReason(flightInfo.getReasonDesc());
}
if (tripRecordInfo != null) {
flightOrderDetail.setStartTerminal(tripRecordInfo.getDPortBuilding());
flightOrderDetail.setEndTerminal(tripRecordInfo.getAPortBuilding());
flightOrderDetail.setTicketNo(tripRecordInfo.getTicketNo());
flightOrderDetail.setChangedTicketNo(tripRecordInfo.getTicketNo());
}
if (passengerBasic != null) {
flightOrderDetail.setUserName(passengerBasic.getPassengerName());
flightOrderDetail.setPhone(passengerBasic.getMobilePhone());
@ -202,10 +193,7 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
flightOrderDetail.setChangeFee(String.valueOf(changeInfo.getDateChangeFee()));
flightOrderDetail.setUpFee(String.valueOf(changeInfo.getPriceDifferential()));
}
ApproveOrderNo approveOrderNo = routeOrder.getApproveOrderNo();
if (approveOrderNo != null) {
flightOrderDetail.setAccountCompanyId(approveOrderNo.getAccountCompanyCode());
flightOrderDetail.setAccountCompanyName(approveOrderNo.getAccountCompanyName());
@ -228,7 +216,6 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
if (flightOrderFeeDetail != null) {
flightOrderDetail.setRefundAmount(String.valueOf(flightOrderFeeDetail.getTransactionAmount()));
}
if (flightRefundInfo != null) {
if (!flightRefundInfo.getRefundDetail().isEmpty()) {

View File

@ -172,8 +172,8 @@ public class LYOrderExtensionFactoryImpl implements OrderExtensionFactory {
flightOrderDetail.setFlightNum(flightSegment.getShareNum());
flightOrderDetail.setSeatPoint(flightSegment.getSeatCode());
flightOrderDetail.setSeatPointName(flightSegment.getSeatName());
flightOrderDetail.setStartTime(flightSegment.getDepartTime());
flightOrderDetail.setArriveTime(flightSegment.getArriveTime());
flightOrderDetail.setStartTime(flightSegment.getDepartTimeFull());
flightOrderDetail.setArriveTime(flightSegment.getArriveTimeFull());
flightOrderDetail.setStartCityName(flightSegment.getDepartCity());
// flightOrderDetail.setStartCityCode(flightSegment.getDep());
flightOrderDetail.setStartAirportName(flightSegment.getDepartAirport());

View File

@ -1,21 +1,15 @@
package com.chint.infrastructure.constant;
public class BelongSystemConstant {
public static final String TRAVAL_SYS_TYPE_CTRIP = "XC";
public static final String TRAVAL_SYS_TYPE_LY = "TC";
public static final String BELONG_SYS_CODE_FSSC = "FSSC";
public static final String BELONG_SYS_CODE_H3BPM = "H3BPM";
public static final String BELONG_SYS_CODE_XNFSSC = "XNFSSC";
public static final String BELONG_SYS_CODE_ANFSSC = "ANFSSC";
public static final String BELONG_SYS_TYPE_FSSC = "GF_FK";
public static final String BELONG_SYS_TYPE_H3BPM = "JT_BPM";
public static final String BELONG_SYS_TYPE_XNFSSC = "XN_FK";
public static final String BELONG_SYS_TYPE_ANFSSC = "AN_FK";
}