对输出财务共享的入住人信息去重
This commit is contained in:
parent
591ac54dd7
commit
994a8ddeda
|
@ -125,8 +125,7 @@ public class HotelOrderDetail implements Serializable {
|
|||
private String refundAmount;
|
||||
|
||||
// 入住人信息
|
||||
// @MappedCollection(idColumn = "hotel_order_detail_id", keyColumn = "hotel_order_detail_key")
|
||||
@Transient
|
||||
@MappedCollection(idColumn = "hotel_order_detail_id", keyColumn = "hotel_order_detail_key")
|
||||
private List<HotelOrderDetailCustomer> customers;
|
||||
|
||||
// 入离日期内差标
|
||||
|
|
|
@ -269,7 +269,7 @@ public class LYOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
customer.setUserName(resident.getName());
|
||||
customer.setPhone(resident.getContactPhone());
|
||||
customer.setUserCode(resident.getEmployeeCode());
|
||||
// hotelOrderDetail.addCustomer(customer);
|
||||
hotelOrderDetail.addCustomer(customer);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -432,7 +432,7 @@ public class LYOrderExtensionFactoryImpl implements OrderExtensionFactory {
|
|||
customer.setUserName(resident.getName());
|
||||
customer.setPhone(resident.getContactPhone());
|
||||
customer.setUserCode(resident.getEmployeeCode());
|
||||
// hotelOrderDetail.addCustomer(customer);
|
||||
hotelOrderDetail.addCustomer(customer);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue