| 
					
				 | 
			
			
				@@ -1876,14 +1876,6 @@ public class CourseScheduleServiceImpl extends ServiceImpl<CourseScheduleDao, Co 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Integer count = baseMapper.selectCount(Wrappers.<CourseSchedule>lambdaQuery().eq(CourseSchedule::getCourseGroupId, groupId)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (count == 0) {//组内课程为0,删除课程组 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             courseGroupService.getDao().deleteById(groupId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //解散群聊 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                imGroupService.dismiss(String.valueOf(groupId)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } catch (Exception e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                log.error("琴房课程组id:{},关闭群聊失败:{}", groupId, e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                throw new BizException("关闭群聊失败"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             courseGroupService.update(null, Wrappers.<CourseGroup>lambdaUpdate() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     .eq(CourseGroup::getId, groupId) 
			 |