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