other_room_select_sql=f'select * from `im_room` where room_id not in {team_room_list} and site_id = {teamData.shopId} and room_type != 2 and status = 1 limit 10'
other_room_select_sql=f'select * from `im_room` where room_id not in {team_room_list} and site_id = {teamData.shopId} and is_ignore = 0 and room_type != 2 and status = 1 limit 10'
else:
else:
setattr(teamData,'open_room_num',0)
setattr(teamData,'open_room_num',0)
setattr(teamData,'pending_room_num',0)
setattr(teamData,'pending_room_num',0)
setattr(teamData,'close_room_num',0)
setattr(teamData,'close_room_num',0)
other_room_select_sql=f'select * from `im_room` where `cate_id` = {teamData.brandId} and room_type != 2 and site_id = {teamData.shopId} and status = 1 limit 10'
other_room_select_sql=f'select * from `im_room` where `cate_id` = {teamData.brandId} and room_type != 2 and site_id = {teamData.shopId} and is_ignore = 0 and status = 1 limit 10'
team_member_open_room_select_sql=f'select * from `im_room` where room_id in {team_room_list} and room_type != 2 and status = 1 and allocation_uid = {team_member_id}'
team_member_open_room_select_sql=f'select * from `im_room` where room_id in {team_room_list} and room_type != 2 and status = 1 and is_ignore = 0 and allocation_uid = {team_member_id}'