|
@@ -616,6 +616,10 @@ public class RoomBedServiceImpl extends MPJBaseServiceImpl<RoomBedMapper, RoomBe
|
|
|
Room updRoom = roomMapper.selectById(roomClassCountVo.getId());
|
|
Room updRoom = roomMapper.selectById(roomClassCountVo.getId());
|
|
|
updRoom.setIsMax(1);
|
|
updRoom.setIsMax(1);
|
|
|
roomMapper.updateById(updRoom);
|
|
roomMapper.updateById(updRoom);
|
|
|
|
|
+ }else{
|
|
|
|
|
+ Room updRoom = roomMapper.selectById(roomClassCountVo.getId());
|
|
|
|
|
+ updRoom.setIsMax(0);
|
|
|
|
|
+ roomMapper.updateById(updRoom);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}else{
|
|
}else{
|