| 
					
				 | 
			
			
				@@ -1221,6 +1221,13 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         BigDecimal originUnitPrice = new BigDecimal(0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         CourseScheduleType courseType = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (ClassGroup classGroup : classGroupList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(HIGH_ONLINE.equals(classGroup.getType())){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                Integer studentNum = classGroupStudentMapperDao.countClassGroupStudentNum(classGroup.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if(Objects.nonNull(studentNum)&&studentNum>=6){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    throw new BizException("线上基础技能班班级最大人数为6人"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 1、增加班级人数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             classGroupDao.addStudentNum(classGroup); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |