|  | @@ -160,6 +160,8 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
 | 
	
		
			
				|  |  |      private GroupEventSource groupEventSource;
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private WebFeignService webFeignService;
 | 
	
		
			
				|  |  | +    @Autowired
 | 
	
		
			
				|  |  | +    private StudentService studentService;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      public BaseDAO<Long, StudentRegistration> getDAO() {
 | 
	
	
		
			
				|  | @@ -341,21 +343,8 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
 | 
	
		
			
				|  |  |          studentRegistration.setMusicGroupStatus(StudentMusicGroupStatusEnum.APPLY);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          Organization organization = organizationDao.get(studentRegistration.getOrganId());
 | 
	
		
			
				|  |  | -        if(organization.getGradeType().equals(GradeTypeEnum.SIX_PLUS)){
 | 
	
		
			
				|  |  | -            for (SixPlusGradeEnum value : SixPlusGradeEnum.values()) {
 | 
	
		
			
				|  |  | -                if(value.getCode().equals(studentRegistration.getCurrentGradeNum())){
 | 
	
		
			
				|  |  | -                    studentRegistration.setCurrentGrade(value.getDesc());
 | 
	
		
			
				|  |  | -                    break;
 | 
	
		
			
				|  |  | -                }
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -        }else {
 | 
	
		
			
				|  |  | -            for (FivePlusGradeEnum value : FivePlusGradeEnum.values()) {
 | 
	
		
			
				|  |  | -                if(value.getCode().equals(studentRegistration.getCurrentGradeNum())){
 | 
	
		
			
				|  |  | -                    studentRegistration.setCurrentGrade(value.getDesc());
 | 
	
		
			
				|  |  | -                    break;
 | 
	
		
			
				|  |  | -                }
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | +        String studentGrade = studentService.getStudentGrade(organization.getGradeType(), studentRegistration.getCurrentGradeNum());
 | 
	
		
			
				|  |  | +        studentRegistration.setCurrentGrade(studentGrade);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          if(hasReg != null){
 | 
	
		
			
				|  |  |              studentRegistration.setMusicGroupStatus(StudentMusicGroupStatusEnum.APPLY);
 | 
	
	
		
			
				|  | @@ -1401,6 +1390,9 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
 | 
	
		
			
				|  |  |          student.setParentsName(studentRegistration.getParentsName());
 | 
	
		
			
				|  |  |          student.setIdCardNo(studentRegistration.getIdCardNo());
 | 
	
		
			
				|  |  |          student.setGender(studentRegistration.getGender());
 | 
	
		
			
				|  |  | +        Organization organization = organizationDao.get(studentRegistration.getOrganId());
 | 
	
		
			
				|  |  | +        String studentGrade = studentService.getStudentGrade(organization.getGradeType(), studentRegistration.getCurrentGradeNum());
 | 
	
		
			
				|  |  | +        studentRegistration.setCurrentGrade(studentGrade);
 | 
	
		
			
				|  |  |          update(studentRegistration);
 | 
	
		
			
				|  |  |          studentRegistrationDao.updateUser(student.getUserId(),student.getName(), student.getParentsName(), student.getIdCardNo(), student.getGender(),studentRegistration.getCertificateType());
 | 
	
		
			
				|  |  |          //更新年级信息
 |