|  | @@ -54,9 +54,7 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private MusicGroupStudentFeeDao musicGroupStudentFeeDao;
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  | -    private ClassGroupStudentMapperDao classGroupStudentMapperDao;
 | 
	
		
			
				|  |  | -    @Autowired
 | 
	
		
			
				|  |  | -    private ClassGroupRelationDao classGroupRelationDao;
 | 
	
		
			
				|  |  | +    private ClassGroupStudentMapperService classGroupStudentMapperDao;
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private SysMessageService sysMessageService;
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
	
		
			
				|  | @@ -497,10 +495,14 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
 | 
	
		
			
				|  |  |                      throw new Exception("班级不存在");
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |                  //新增班级学生关系(单技班)
 | 
	
		
			
				|  |  | -                classGroupStudentMapperDao.insert(new ClassGroupStudentMapper(classGroupId, userId));
 | 
	
		
			
				|  |  | +//                ClassGroupStudentMapper classGroupStudentMapper = new ClassGroupStudentMapper(musicGroupId,userId,GroupType.MUSIC);
 | 
	
		
			
				|  |  | +//                classGroupStudentMapper.setClassGroupId(classGroupId);
 | 
	
		
			
				|  |  | +//                classGroupStudentMapperDao.insert(classGroupStudentMapper);
 | 
	
		
			
				|  |  |                  //新增班级学生关系(合奏班)
 | 
	
		
			
				|  |  | -                ClassGroupRelation classGroupRelation = classGroupRelationDao.findClassGroupRelation(classGroupId);
 | 
	
		
			
				|  |  | -                classGroupStudentMapperDao.insert(new ClassGroupStudentMapper(classGroupRelation.getClassGroupId(), userId));
 | 
	
		
			
				|  |  | +//                ClassGroupRelation classGroupRelation = classGroupRelationDao.findClassGroupRelation(classGroupId);
 | 
	
		
			
				|  |  | +//                classGroupStudentMapper.setClassGroupId(classGroupRelation.getClassGroupId());
 | 
	
		
			
				|  |  | +//                classGroupStudentMapperDao.insert(classGroupStudentMapper);
 | 
	
		
			
				|  |  | +                classGroupStudentMapperDao.addStudents(classGroupId,userId.toString(),GroupType.MUSIC);
 | 
	
		
			
				|  |  |                  Date date = new Date();
 | 
	
		
			
				|  |  |                  //获取当前月
 | 
	
		
			
				|  |  |                  Integer month = Integer.parseInt(DateUtil.getMonth(date));
 |