|
@@ -237,6 +237,12 @@ public class RoomServiceImpl extends ServiceImpl<IRoomMapper, Room> implements I
|
|
if(room == null){
|
|
if(room == null){
|
|
throw new BusinessException(ResultCode.ROOM_MISS);
|
|
throw new BusinessException(ResultCode.ROOM_MISS);
|
|
}
|
|
}
|
|
|
|
+ if(StringUtils.isNotBlank(roomUserId)){
|
|
|
|
+ RoomUser roomUser = roomUserService.getById(roomUserId);
|
|
|
|
+ if(roomUser == null){
|
|
|
|
+ throw new BusinessException(ResultCode.ROOM_MISS);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
List<String> numList = roomNumService.getListByRoomId(roomId);
|
|
List<String> numList = roomNumService.getListByRoomId(roomId);
|
|
List<SceneVo> list = new ArrayList<>();
|
|
List<SceneVo> list = new ArrayList<>();
|
|
if(numList.size() >0){
|
|
if(numList.size() >0){
|