同步代码
This commit is contained in:
parent
c6e1cff665
commit
65593e353f
|
@ -111,18 +111,6 @@ public class HotelOrderDetail {
|
|||
@MappedCollection(idColumn = "hotel_order_detail_id", keyColumn = "hotel_order_detail_key")
|
||||
private List<HotelOrderDetailCustomer> customers;
|
||||
|
||||
// 入住人性别
|
||||
private String gender;
|
||||
|
||||
// 入住人姓名
|
||||
private String userName;
|
||||
|
||||
// 入住人code
|
||||
private String userCode;
|
||||
|
||||
// 入住人手机号
|
||||
private String phone;
|
||||
|
||||
// 入离日期内差标
|
||||
private String standardItems;
|
||||
|
||||
|
|
|
@ -2,13 +2,23 @@ package com.chint.domain.aggregates.order;
|
|||
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.data.annotation.Id;
|
||||
import org.springframework.data.relational.core.mapping.Table;
|
||||
|
||||
@Data
|
||||
@Table("hotel_order_detail")
|
||||
@Table("hotel_order_detail_customer")
|
||||
public class HotelOrderDetailCustomer {
|
||||
@Id
|
||||
private Long id;
|
||||
// 入住人性别
|
||||
private String gender;
|
||||
|
||||
// 入住人姓名
|
||||
private String userName;
|
||||
|
||||
// 入住人code
|
||||
private String userCode;
|
||||
|
||||
// 入住人手机号
|
||||
private String phone;
|
||||
}
|
||||
|
|
|
@ -94,7 +94,7 @@ public class CTripOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
String orderNo = hotelOrderInfoEntity.getOrderID();
|
||||
Optional<OrderDetail> byOrderNo = orderDetailRepository.findByOrderNo(orderNo);
|
||||
String journeyNo = hotelOrderInfoEntity.getJourneyNo();
|
||||
RouteOrder routeOrder = routeRepository.findByOrderNo(journeyNo);
|
||||
RouteOrder routeOrder = routeRepository.findByOrderNo(journeyNo).reloadStatus();
|
||||
|
||||
ApproveOrderNo approveOrderNo = routeOrder.getApproveOrderNo();
|
||||
HotelOrderDetail hotelOrderDetail = new HotelOrderDetail();
|
||||
|
|
|
@ -23,6 +23,9 @@ public class LYOrderExtensionFactoryImpl implements OrderExtensionFactory{
|
|||
|
||||
@Override
|
||||
public HotelOrderDetail createHotelOrderDetail(Object hotelOrderDetailData) {
|
||||
|
||||
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue