|  | @@ -1148,6 +1148,11 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
 | 
	
		
			
				|  |  |                                                              String batchNo,
 | 
	
		
			
				|  |  |  			List<MusicGroupPaymentCalenderCourseSettings> musicGroupPaymentCalenderCourseSettingsList) {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        //如果学员已经在某些班级,
 | 
	
		
			
				|  |  | +        Boolean isExistClassGroup = classGroupStudentMapperDao.existByClassGroupIds(classGroupIdListStr,studentId);
 | 
	
		
			
				|  |  | +        if(isExistClassGroup){
 | 
	
		
			
				|  |  | +            throw new BizException("操作失败:学员已存在");
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |  		List<ClassGroup> classGroupList = classGroupDao.findClassGroupByIds(classGroupIdListStr);
 | 
	
		
			
				|  |  |  		if (classGroupList == null || classGroupList.size() == 0) {
 | 
	
		
			
				|  |  |  			throw new BizException("班级查询失败");
 |