|  | @@ -28,6 +28,7 @@ import com.ym.mec.biz.dal.enums.*;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.dto.*;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.event.source.GroupEventSource;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.service.*;
 | 
	
		
			
				|  |  | +import com.ym.mec.im.WebFeignService;
 | 
	
		
			
				|  |  |  import org.apache.commons.lang3.ArrayUtils;
 | 
	
		
			
				|  |  |  import org.apache.commons.lang3.StringUtils;
 | 
	
		
			
				|  |  |  import org.slf4j.Logger;
 | 
	
	
		
			
				|  | @@ -146,6 +147,8 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
 | 
	
		
			
				|  |  |      private GroupEventSource groupEventSource;
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private StudentInstrumentService studentInstrumentService;
 | 
	
		
			
				|  |  | +    @Autowired
 | 
	
		
			
				|  |  | +    private WebFeignService webFeignService;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      public BaseDAO<Long, StudentRegistration> getDAO() {
 | 
	
	
		
			
				|  | @@ -358,6 +361,7 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
 | 
	
		
			
				|  |  |          student.setCurrentClass(studentRegistration.getCurrentClass());
 | 
	
		
			
				|  |  |          studentDao.update(student);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        webFeignService.updateNickName(sysUser.getId(),studentRegistration.getName(),"STUDENT");
 | 
	
		
			
				|  |  |          // 增加报名学生数
 | 
	
		
			
				|  |  |          musicGroupSubjectPlanService.addApplyStudentNum(studentRegistration.getMusicGroupId(), studentRegistration.getSubjectId(), 1);
 | 
	
		
			
				|  |  |          // 报名成功后,发送短信
 | 
	
	
		
			
				|  | @@ -654,8 +658,6 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
 | 
	
		
			
				|  |  |                  studentDao.insert(new Student(userId, studentRegistration.getSubjectId().toString()));
 | 
	
		
			
				|  |  |                  //添加用户现金账户
 | 
	
		
			
				|  |  |                  sysUserCashAccountDao.insert(new SysUserCashAccount(userId, "CNY"));
 | 
	
		
			
				|  |  | -                //添加用户电子签章账户
 | 
	
		
			
				|  |  | -//                contractService.register(userId, sysUser.getRealName(), sysUser.getIdCardNo(), sysUser.getPhone());
 | 
	
		
			
				|  |  |                  ImResult register = imFeignService.register(new ImUserModel(userId.toString(), sysUser.getUsername(), null));
 | 
	
		
			
				|  |  |                  sysUser.setImToken(register.getToken());
 | 
	
		
			
				|  |  |                  teacherDao.updateUser(sysUser);
 | 
	
	
		
			
				|  | @@ -693,6 +695,7 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
 | 
	
		
			
				|  |  |                          studentDao.update(student);
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  | +                webFeignService.updateNickName(userId,sysUser.getUsername(),"STUDENT");
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              MusicGroupStudentFee studentFeeDaoByUser = musicGroupStudentFeeDao.findByUser(userId, musicGroupId);
 | 
	
		
			
				|  |  |              if (studentFeeDaoByUser != null) {
 |