覃浩 %!s(int64=2) %!d(string=hai) anos
pai
achega
d602ffc79d

+ 2 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/business/service/impl/BusRoomBookingOrdersServiceImpl.java

@@ -2374,9 +2374,11 @@ public class BusRoomBookingOrdersServiceImpl extends ServiceImpl<BusRoomBookingO
         bkRoom.setRoomId(changeRoom.getId());
         bkRoom.setLayoutId(changeRoom.getLayoutId());
         bookingRoomsService.updateById(bkRoom);
+        origLivingRoom.setLivingOrderId("");
         origLivingRoom.setRoomStatus(RoomStatusEnum.EMPTY_DIRTY.getKey());
         roomsService.updateById(origLivingRoom);
         changeRoom.setRoomStatus(RoomStatusEnum.LIVE_CLEAR.getKey());
+        changeRoom.setLivingOrderId(livingOrderId);
         roomsService.updateById(changeRoom);
         livingLayoutDayPriceService.remove(Wrappers.<BusLivingLayoutDayPrice>query().eq("living_order_id",livingOrderId));
         prices.forEach(s->{