|
@@ -158,7 +158,7 @@ public class RoomServiceImpl extends ServiceImpl<IRoomMapper, Room> implements I
|
|
|
if(StringUtils.isNotBlank(room.getRoomId())){
|
|
|
room.setUpdateTime(null);
|
|
|
Room byId = this.getById(room.getRoomId());
|
|
|
- if(byId.getRoomStatus() == 1){
|
|
|
+ if(byId.getHostStatus() == 1 ){
|
|
|
throw new BusinessException(ResultCode.ROOM_ING);
|
|
|
}
|
|
|
}else {
|