|  | @@ -515,6 +515,12 @@ public class CoursesGroupServiceImpl extends BaseServiceImpl<Long, CoursesGroup>
 | 
	
		
			
				|  |  |          classGroupStudentMapper.setGroupType(GroupType.COMM);
 | 
	
		
			
				|  |  |          classGroupStudentMapperDao.insert(classGroupStudentMapper);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        List<ClassGroupStudentMapper> classGroupStudents = classGroupStudentMapperDao.findByClassGroup(classGroup.getId());
 | 
	
		
			
				|  |  | +        if(!CollectionUtils.isEmpty(classGroupStudents)&&classGroupStudents.size()==classGroup.getExpectStudentNum()){
 | 
	
		
			
				|  |  | +            coursesGroup.setStatus(GroupStatusEnum.NORMAL);
 | 
	
		
			
				|  |  | +            coursesGroupDao.update(coursesGroup);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          List<CourseScheduleStudentPayment> courseScheduleStudentPayments = new ArrayList<>();
 | 
	
		
			
				|  |  |          List<CourseSchedule> groupNotStartCourses = courseScheduleDao.findGroupNotStartCourses(order.getMusicGroupId(), GroupType.COMM);
 | 
	
		
			
				|  |  |          if(CollectionUtils.isEmpty(groupNotStartCourses)){
 |