|  | @@ -220,6 +220,18 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
 | 
	
		
			
				|  |  |          if (studentRegistration == null) {
 | 
	
		
			
				|  |  |              throw new BizException("学员信息不存在");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  | +        Student student = studentService.get(userId);
 | 
	
		
			
				|  |  | +        if(student == null){
 | 
	
		
			
				|  |  | +        	throw new BizException("用户[{}]信息获取失败", userId);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  | +        if(!StringUtils.equals(student.getSubjectIdList(), subId+"")){
 | 
	
		
			
				|  |  | +        	student.setSubjectIdList(subId + "");
 | 
	
		
			
				|  |  | +        	student.setUpdateTime(new Date());
 | 
	
		
			
				|  |  | +        	studentService.update(student);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  |          //批量调剂(未缴费学员)
 | 
	
		
			
				|  |  |          int i = studentRegistrationDao.batchUpdateSubject(userId, subId, musicGroupId);
 | 
	
		
			
				|  |  |          if (i > 0) {
 | 
	
	
		
			
				|  | @@ -493,6 +505,7 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
 | 
	
		
			
				|  |  |          //更新年级信息
 | 
	
		
			
				|  |  |          student.setCurrentGradeNum(studentRegistration.getCurrentGradeNum());
 | 
	
		
			
				|  |  |          student.setCurrentClass(studentRegistration.getCurrentClass());
 | 
	
		
			
				|  |  | +        student.setSubjectIdList(studentRegistration.getSubjectId() + "");
 | 
	
		
			
				|  |  |          studentDao.update(student);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          if (updateNameFlag) {
 |