|  | @@ -548,13 +548,16 @@ public class StudentServiceImpl extends BaseServiceImpl<Integer, Student> implem
 | 
	
		
			
				|  |  |          List<String> musicGroupIds = studentRegistrationDao.findMusicGroupIds();
 | 
	
		
			
				|  |  |          List<Integer> studentIdList = studentRegistrationDao.findStudentIds();
 | 
	
		
			
				|  |  |          List<BaseMapDto<Integer, Long>> studentMusicCourseNum = studentDao.getOrganCloudNewStudentNum(musicGroupIds,studentIdList);
 | 
	
		
			
				|  |  | -        Map<String, Long> organsNewCloudNewStudentNumMap = new HashMap<>();
 | 
	
		
			
				|  |  | +        //获取有乐团没排课的数据
 | 
	
		
			
				|  |  | +        List<Integer> noCourseStudentIdList = studentRegistrationDao.findNoCourseStudentIds();
 | 
	
		
			
				|  |  | +        List<Integer> userIdList = new ArrayList<>();
 | 
	
		
			
				|  |  |          if(!CollectionUtils.isEmpty(studentMusicCourseNum)){
 | 
	
		
			
				|  |  |              List<BaseMapDto<Integer, Long>> collect = studentMusicCourseNum.stream().filter(e -> e.getValue() < 5).collect(Collectors.toList());
 | 
	
		
			
				|  |  | -            List<Integer> userIdList = collect.stream().map(e -> e.getKey()).collect(Collectors.toList());
 | 
	
		
			
				|  |  | -            List<Map<Long, Long>> organsNewCloudNewStudentNumMapList = studentDao.groupOrganId(organIds,userIdList);
 | 
	
		
			
				|  |  | -            organsNewCloudNewStudentNumMap = MapUtil.convertIntegerMap(organsNewCloudNewStudentNumMapList);
 | 
	
		
			
				|  |  | +            userIdList = collect.stream().map(e -> e.getKey()).collect(Collectors.toList());
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +        userIdList.addAll(noCourseStudentIdList);
 | 
	
		
			
				|  |  | +        List<Map<Long, Long>> organsNewCloudNewStudentNumMapList = studentDao.groupOrganId(organIds,userIdList);
 | 
	
		
			
				|  |  | +        Map<String, Long> organsNewCloudNewStudentNumMap = MapUtil.convertIntegerMap(organsNewCloudNewStudentNumMapList);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          List<EduOrganStudentDataDto> result = new ArrayList<>();
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -647,13 +650,16 @@ public class StudentServiceImpl extends BaseServiceImpl<Integer, Student> implem
 | 
	
		
			
				|  |  |          List<String> musicGroupIds = studentRegistrationDao.findMusicGroupIds();
 | 
	
		
			
				|  |  |          List<Integer> studentIdList = studentRegistrationDao.findStudentIds();
 | 
	
		
			
				|  |  |          List<BaseMapDto<Integer, Long>> studentMusicCourseNum = studentDao.getOrganCloudNewStudentNum(musicGroupIds,studentIdList);
 | 
	
		
			
				|  |  | -        Map<String, Long> organsNewCloudNewStudentNumMap = new HashMap<>();
 | 
	
		
			
				|  |  | +        //获取有乐团没排课的数据
 | 
	
		
			
				|  |  | +        List<Integer> noCourseStudentIdList = studentRegistrationDao.findNoCourseStudentIds();
 | 
	
		
			
				|  |  | +        List<Integer> userIdList = new ArrayList<>();
 | 
	
		
			
				|  |  |          if(!CollectionUtils.isEmpty(studentMusicCourseNum)){
 | 
	
		
			
				|  |  |              List<BaseMapDto<Integer, Long>> collect = studentMusicCourseNum.stream().filter(e -> e.getValue() < 5).collect(Collectors.toList());
 | 
	
		
			
				|  |  | -            List<Integer> userIdList = collect.stream().map(e -> e.getKey()).collect(Collectors.toList());
 | 
	
		
			
				|  |  | -            List<Map<Long, Long>> organsNewCloudNewStudentNumMapList = studentDao.groupOrganId(organIds,userIdList);
 | 
	
		
			
				|  |  | -            organsNewCloudNewStudentNumMap = MapUtil.convertIntegerMap(organsNewCloudNewStudentNumMapList);
 | 
	
		
			
				|  |  | +            userIdList = collect.stream().map(e -> e.getKey()).collect(Collectors.toList());
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +        userIdList.addAll(noCourseStudentIdList);
 | 
	
		
			
				|  |  | +        List<Map<Long, Long>> organsNewCloudNewStudentNumMapList = studentDao.groupOrganId(organIds,userIdList);
 | 
	
		
			
				|  |  | +        Map<String, Long> organsNewCloudNewStudentNumMap = MapUtil.convertIntegerMap(organsNewCloudNewStudentNumMapList);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          List<EduOrganStudentDataDto> result = new ArrayList<>();
 | 
	
		
			
				|  |  |  
 |