修复消费明细的部分问题
This commit is contained in:
parent
0a635cff82
commit
b8688f7bca
|
@ -238,7 +238,7 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
if (first.get().getFlightOrderDetail() == null) {
|
||||
flightOrderDetail = new FlightOrderDetail();
|
||||
} else {
|
||||
flightOrderDetail = first.get().getFlightOrderDetail();
|
||||
return first.get().getFlightOrderDetail();
|
||||
}
|
||||
} else {
|
||||
flightOrderDetail = new FlightOrderDetail();
|
||||
|
|
|
@ -412,7 +412,7 @@ public class LYOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
|
||||
TrainOrderDetail trainOrderDetail;
|
||||
if (byOrderNo.isPresent()) {
|
||||
if (byOrderNo.get().getHotelOrderDetail() == null) {
|
||||
if (byOrderNo.get().getTrainOrderDetail() == null) {
|
||||
trainOrderDetail = new TrainOrderDetail();
|
||||
} else {
|
||||
return byOrderNo.get().getTrainOrderDetail();
|
||||
|
@ -508,7 +508,6 @@ public class LYOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
trainOrderDetail.setCostCenter(approveOrderNo.getCostCenter());
|
||||
trainOrderDetail.setProjectOrderNo(approveOrderNo.getProjectName());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (item != null) {
|
||||
|
@ -516,7 +515,6 @@ public class LYOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
trainOrderDetail.setPostServiceFee(String.valueOf(item.getAfterServiceCharge()));
|
||||
trainOrderDetail.setRefundAmount(String.valueOf(item.getRefundAmountCor()));
|
||||
|
||||
|
||||
if (item.getSeatClass().equals("secondseat")) {
|
||||
trainOrderDetail.setSeatType("二等座");
|
||||
}
|
||||
|
@ -549,7 +547,6 @@ public class LYOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
if (changeItem != null) {
|
||||
trainOrderDetail.setChangeDifference(String.valueOf(changeItem.getChangePrice()));
|
||||
trainOrderDetail.setChangeDifference(String.valueOf(changeItem.getChangePrice()));
|
||||
|
||||
}
|
||||
// trainOrderDetail.setSupplier(SUPPLIER_L_Y_EXTENSION_NAME);
|
||||
|
||||
|
|
Loading…
Reference in New Issue