1.修改明细创建人改成为明细申请人
This commit is contained in:
parent
1a3d3aece4
commit
450f28ffaa
|
@ -156,8 +156,7 @@ public class OrderDetailQuery {
|
|||
}
|
||||
HotelOrderDetailDto orderDetailDto = HotelOrderDetailDto.copyFrom(hotelOrderDetail);
|
||||
RouteOrder routeOrder = routeRepository.queryById(orderDetail.getRouteId());
|
||||
ApproveOrderNo approveOrderNo = routeOrder.getApproveOrderNo();
|
||||
orderDetailDto.setApplicantId(approveOrderNo.getCreator());
|
||||
orderDetailDto.setApplicantId(routeOrder.getUserId());
|
||||
return orderDetailDto;
|
||||
}
|
||||
return null;
|
||||
|
@ -175,8 +174,7 @@ public class OrderDetailQuery {
|
|||
}
|
||||
TrainOrderDetailDto orderDetailDto = TrainOrderDetailDto.copyFrom(trainOrderDetail);
|
||||
RouteOrder routeOrder = routeRepository.queryById(orderDetail.getRouteId());
|
||||
ApproveOrderNo approveOrderNo = routeOrder.getApproveOrderNo();
|
||||
orderDetailDto.setApplicantId(approveOrderNo.getCreator());
|
||||
orderDetailDto.setApplicantId(routeOrder.getUserId());
|
||||
return orderDetailDto;
|
||||
}
|
||||
return null;
|
||||
|
@ -194,8 +192,7 @@ public class OrderDetailQuery {
|
|||
}
|
||||
CarOrderDetailDto orderDetailDto = CarOrderDetailDto.copyFrom(carOrderDetail);
|
||||
RouteOrder routeOrder = routeRepository.queryById(orderDetail.getRouteId());
|
||||
ApproveOrderNo approveOrderNo = routeOrder.getApproveOrderNo();
|
||||
orderDetailDto.setApplicantId(approveOrderNo.getCreator());
|
||||
orderDetailDto.setApplicantId(routeOrder.getUserId());
|
||||
return orderDetailDto;
|
||||
}
|
||||
return null;
|
||||
|
@ -225,8 +222,7 @@ public class OrderDetailQuery {
|
|||
orderDetailDto.setChangedTicketNo(changedTicketNo);
|
||||
}
|
||||
RouteOrder routeOrder = routeRepository.queryById(orderDetail.getRouteId());
|
||||
ApproveOrderNo approveOrderNo = routeOrder.getApproveOrderNo();
|
||||
orderDetailDto.setApplicantId(approveOrderNo.getCreator());
|
||||
orderDetailDto.setApplicantId(routeOrder.getUserId());
|
||||
return orderDetailDto;
|
||||
}
|
||||
return null;
|
||||
|
|
|
@ -46,7 +46,6 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
|
||||
CarQuickOrderInfoEntity carQuickOrderInfoEntity = (CarQuickOrderInfoEntity) carOrderDetailData;
|
||||
|
||||
|
||||
CarBasicInfo carBasicInfo = carQuickOrderInfoEntity.getBasicInfo();
|
||||
String orderNo = carBasicInfo.getOrderId();
|
||||
String journeyNo = carBasicInfo.getJourneyID();
|
||||
|
|
Loading…
Reference in New Issue