|  | @@ -126,6 +126,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
 | 
	
		
			
				|  |  |          String userIds = classGroup.getUserIds();
 | 
	
		
			
				|  |  |          String[] userIdArr = userIds.split(",");
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        classGroup.setExpectStudentNum(userIdArr.length);
 | 
	
		
			
				|  |  |          classGroup.setStudentNum(userIdArr.length);
 | 
	
		
			
				|  |  |          insert(classGroup);
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -133,6 +134,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
 | 
	
		
			
				|  |  |          List<ClassGroupStudentMapper> classGroupStudentList = new ArrayList<>();
 | 
	
		
			
				|  |  |          for (String userId : userIdArr) {
 | 
	
		
			
				|  |  |              ClassGroupStudentMapper classGroupStudentMapper = new ClassGroupStudentMapper();
 | 
	
		
			
				|  |  | +            classGroupStudentMapper.setMusicGroupId(classGroup.getMusicGroupId());
 | 
	
		
			
				|  |  |              classGroupStudentMapper.setClassGroupId(classGroup.getId());
 | 
	
		
			
				|  |  |              classGroupStudentMapper.setUserId(Integer.parseInt(userId));
 | 
	
		
			
				|  |  |              classGroupStudentMapper.setCreateTime(date);
 | 
	
	
		
			
				|  | @@ -910,7 +912,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
 | 
	
		
			
				|  |  |              throw new Exception("乐团不存在");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          ClassGroup classgroup = classGroupDao.get(classGroup4MixDto.getClassGroupId());
 | 
	
		
			
				|  |  | -        if(classgroup == null){
 | 
	
		
			
				|  |  | +        if (classgroup == null) {
 | 
	
		
			
				|  |  |              throw new Exception("班级不存在");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 |