| 
					
				 | 
			
			
				@@ -1919,6 +1919,21 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 imFeignService.groupJoin(new ImGroupModel(classGroupId.toString(), imGroupMembers, classGroup.getName())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (classGroup4MixDtos.get(0).getCourseAddType().equals("onlyUpdateTeacher")) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            List<Integer> classGroupIds = new ArrayList<Integer>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            classGroupIds.add(classGroupId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // 删除历史记录 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            classGroupTeacherMapperDao.delClassGroupTeacherMapper(classGroupIds); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (ClassGroupTeacherMapper tm : newTeacherMapperList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                tm.setClassGroupId(classGroupId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                tm.setCreateTime(date); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                tm.setGroupType(GroupType.MUSIC); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                tm.setMusicGroupId(musicGroupId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                tm.setUpdateTime(date); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                classGroupTeacherMapperDao.insert(tm); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return classGroup; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (classGroup4MixDtos.get(0).getCourseTimes().compareTo(0) <= 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             throw new BizException("排课次数必须大于0"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 |