parent
3983b31857
commit
8115bafef7
|
@ -163,13 +163,10 @@ public class OrderDetailQuery {
|
|||
Double.parseDouble(hotelOrderDetail.getOrderAmount()) == 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
HotelOrderDetailDto orderDetailDto = HotelOrderDetailDto.copyFrom(hotelOrderDetail);
|
||||
|
||||
RouteOrder routeOrder = routeRepository.queryById(orderDetail.getRouteId());
|
||||
|
||||
orderDetailDto.setApplicantId(routeOrder.getCreateUser());
|
||||
|
||||
ApproveOrderNo approveOrderNo = routeOrder.getApproveOrderNo();
|
||||
orderDetailDto.setApplicantId(approveOrderNo.getCreator());
|
||||
return orderDetailDto;
|
||||
}
|
||||
return null;
|
||||
|
@ -184,13 +181,10 @@ public class OrderDetailQuery {
|
|||
if (receiptsNum != null) {
|
||||
trainOrderDetail.setReceiptsNum(regetReceiptsNum(receiptsNum));
|
||||
}
|
||||
|
||||
TrainOrderDetailDto orderDetailDto = TrainOrderDetailDto.copyFrom(trainOrderDetail);
|
||||
|
||||
RouteOrder routeOrder = routeRepository.queryById(orderDetail.getRouteId());
|
||||
|
||||
orderDetailDto.setApplicantId(routeOrder.getCreateUser());
|
||||
|
||||
ApproveOrderNo approveOrderNo = routeOrder.getApproveOrderNo();
|
||||
orderDetailDto.setApplicantId(approveOrderNo.getCreator());
|
||||
return orderDetailDto;
|
||||
}
|
||||
return null;
|
||||
|
@ -205,13 +199,10 @@ public class OrderDetailQuery {
|
|||
if (receiptsNum != null) {
|
||||
carOrderDetail.setReceiptsNum(regetReceiptsNum(receiptsNum));
|
||||
}
|
||||
|
||||
CarOrderDetailDto orderDetailDto = CarOrderDetailDto.copyFrom(carOrderDetail);
|
||||
|
||||
RouteOrder routeOrder = routeRepository.queryById(orderDetail.getRouteId());
|
||||
|
||||
orderDetailDto.setApplicantId(routeOrder.getCreateUser());
|
||||
|
||||
ApproveOrderNo approveOrderNo = routeOrder.getApproveOrderNo();
|
||||
orderDetailDto.setApplicantId(approveOrderNo.getCreator());
|
||||
return orderDetailDto;
|
||||
}
|
||||
return null;
|
||||
|
@ -227,13 +218,10 @@ public class OrderDetailQuery {
|
|||
if (receiptsNum != null) {
|
||||
flightOrderDetail.setReceiptsNum(regetReceiptsNum(receiptsNum));
|
||||
}
|
||||
|
||||
FlightOrderDetailDto orderDetailDto = FlightOrderDetailDto.copyFrom(flightOrderDetail);
|
||||
|
||||
RouteOrder routeOrder = routeRepository.queryById(orderDetail.getRouteId());
|
||||
|
||||
orderDetailDto.setApplicantId(routeOrder.getCreateUser());
|
||||
|
||||
ApproveOrderNo approveOrderNo = routeOrder.getApproveOrderNo();
|
||||
orderDetailDto.setApplicantId(approveOrderNo.getCreator());
|
||||
return orderDetailDto;
|
||||
}
|
||||
return null;
|
||||
|
|
|
@ -125,9 +125,9 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
carOrderDetail.setPaymentType("1");
|
||||
|
||||
}
|
||||
carOrderDetail.setCompanyPaymentAmount(String.valueOf(carBasicInfo.getPersonAmount()));
|
||||
carOrderDetail.setCompanyPaymentAmount(String.valueOf(carBasicInfo.getAccntAmount()));
|
||||
|
||||
carOrderDetail.setPersonalPaymentAmount(String.valueOf(carBasicInfo.getAccntAmount()));
|
||||
carOrderDetail.setPersonalPaymentAmount(String.valueOf(carBasicInfo.getPersonAmount()));
|
||||
|
||||
if (!carQuickOrderInfoEntity.getOrderFeeList().isEmpty()) {
|
||||
OrderFee orderFee = carQuickOrderInfoEntity.getOrderFeeList().get(0);
|
||||
|
|
Loading…
Reference in New Issue