|  | @@ -534,11 +534,15 @@ public class StudentManageServiceImpl implements StudentManageService {
 | 
	
		
			
				|  |  |      @Transactional(rollbackFor = Exception.class)
 | 
	
		
			
				|  |  |      public void updateUser(SysUser sysUser) {
 | 
	
		
			
				|  |  |          studentManageDao.updateUser(sysUser);
 | 
	
		
			
				|  |  | -        StudentRegistration studentRegistration = new StudentRegistration();
 | 
	
		
			
				|  |  | -        studentRegistration.setUserId(sysUser.getId());
 | 
	
		
			
				|  |  | -        studentRegistration.setCurrentClass(sysUser.getCurrentClass());
 | 
	
		
			
				|  |  | -        studentRegistration.setCurrentGrade(sysUser.getCurrentGrade());
 | 
	
		
			
				|  |  | -        studentRegistrationDao.updateCurrentClass(studentRegistration);
 | 
	
		
			
				|  |  | +        Student student = studentDao.get(sysUser.getId());
 | 
	
		
			
				|  |  | +        student.setCurrentGradeNum(sysUser.getCurrentGradeNum());
 | 
	
		
			
				|  |  | +        student.setCurrentClass(sysUser.getCurrentClass());
 | 
	
		
			
				|  |  | +        studentDao.update(student);
 | 
	
		
			
				|  |  | +//        StudentRegistration studentRegistration = new StudentRegistration();
 | 
	
		
			
				|  |  | +//        studentRegistration.setUserId(sysUser.getId());
 | 
	
		
			
				|  |  | +//        studentRegistration.setCurrentClass(sysUser.getCurrentClass());
 | 
	
		
			
				|  |  | +//        studentRegistration.setCurrentGrade(sysUser.getCurrentGrade());
 | 
	
		
			
				|  |  | +//        studentRegistrationDao.updateCurrentClass(studentRegistration);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 |