|  | @@ -70,7 +70,7 @@ public class ImLiveRoomPurviewServiceImpl extends ServiceImpl<ImLiveRoomPurviewD
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          Stream<Integer> userIdList = studentList.stream().map(SysUserDto::getUserId).map(Long::intValue);
 | 
	
		
			
				|  |  |          //添加学员
 | 
	
		
			
				|  |  | -        batchInsert(userIdList, roomUid, "STUDENT");
 | 
	
		
			
				|  |  | +        batchStudentInsert(userIdList, roomUid);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      /**
 | 
	
	
		
			
				|  | @@ -99,10 +99,10 @@ public class ImLiveRoomPurviewServiceImpl extends ServiceImpl<ImLiveRoomPurviewD
 | 
	
		
			
				|  |  |          if (CollectionUtils.isEmpty(userIdList)) {
 | 
	
		
			
				|  |  |              return;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        batchInsert(userIdList.stream(), roomUid, "STUDENT");
 | 
	
		
			
				|  |  | +        batchStudentInsert(userIdList.stream(), roomUid);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    private void batchInsert(Stream<Integer> stream, String roomUid, String type) {
 | 
	
		
			
				|  |  | +    private void batchStudentInsert(Stream<Integer> stream, String roomUid) {
 | 
	
		
			
				|  |  |          if (Objects.isNull(stream)) {
 | 
	
		
			
				|  |  |              return;
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -112,7 +112,7 @@ public class ImLiveRoomPurviewServiceImpl extends ServiceImpl<ImLiveRoomPurviewD
 | 
	
		
			
				|  |  |              ImLiveRoomPurview imLiveRoomPurview = new ImLiveRoomPurview();
 | 
	
		
			
				|  |  |              imLiveRoomPurview.setRoomUid(roomUid);
 | 
	
		
			
				|  |  |              imLiveRoomPurview.setUserId(id);
 | 
	
		
			
				|  |  | -            imLiveRoomPurview.setType(type);
 | 
	
		
			
				|  |  | +            imLiveRoomPurview.setType("STUDENT");
 | 
	
		
			
				|  |  |              imLiveRoomPurview.setCreatedBy(userId);
 | 
	
		
			
				|  |  |              imLiveRoomPurview.setCreatedTime(date);
 | 
	
		
			
				|  |  |              return imLiveRoomPurview;
 | 
	
	
		
			
				|  | @@ -153,11 +153,10 @@ public class ImLiveRoomPurviewServiceImpl extends ServiceImpl<ImLiveRoomPurviewD
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      public PageInfo<SysUserDto> queryStudent(Map<String, Object> param) {
 | 
	
		
			
				|  |  |          WrapperUtil.toStr(param, "roomUid", "房间uid不能为空");
 | 
	
		
			
				|  |  | -        param.put("in", 1);
 | 
	
		
			
				|  |  | +        param.put("inExist", 1);
 | 
	
		
			
				|  |  |          param.put("tenantId", TenantContextHolder.getTenantId());
 | 
	
		
			
				|  |  |          Page<SysUserDto> pageInfo = PageUtil.getPageInfo(param);
 | 
	
		
			
				|  |  |          return PageUtil.pageInfo(baseMapper.selectRoomPurviewStudent(pageInfo, param));
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      /**
 |