|
|
@@ -929,6 +929,9 @@ public class BusRoomBookingOrdersServiceImpl extends ServiceImpl<BusRoomBookingO
|
|
|
livingOrder.setArrivalTime(new Date());// todo 这个地方的入住开始时间应该怎么算
|
|
|
if(customers.size() > 0) livingOrder.setContactId(customers.get(0).getCustomerId());
|
|
|
roomsLivingOrderService.save(livingOrder);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
CesRooms room = roomsService.getById(bkRoom.getRoomId());
|
|
|
if(room==null) throw new JeecgBootException("房间不存在");
|
|
|
room.setLivingOrderId(livingOrder.getId());
|