| 
					
				 | 
			
			
				@@ -432,7 +432,7 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (studentRegistration.getClassGroupId() != null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 ClassGroup classGroup = classGroupDao.get(studentRegistration.getClassGroupId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (classGroup != null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (classGroup.getMusicGroupId().equals(studentRegistration.getMusicGroupId())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (!classGroup.getMusicGroupId().equals(studentRegistration.getMusicGroupId())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         throw new Exception("班级录入错误"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         //修改实际学生人数 
			 |