|  | @@ -2700,7 +2700,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
 | 
	
		
			
				|  |  |                  courseScheduleDao.deleteCourseSchedulesByClassGroupIds(courseScheduleIds);
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              //取消所有预排课
 | 
	
		
			
				|  |  | -            musicGroupSchoolTermStudentCourseDetailDao.cleanMinutes(musicGroupSchoolTermCourseDetailId);
 | 
	
		
			
				|  |  | +            musicGroupSchoolTermStudentCourseDetailDao.deleteByDetailId(musicGroupSchoolTermCourseDetailId,null);
 | 
	
		
			
				|  |  |              musicGroupSchoolTermCourseDetailDao.delete(musicGroupSchoolTermCourseDetailId);
 | 
	
		
			
				|  |  |          }else {
 | 
	
		
			
				|  |  |              List<CourseSchedule> courseSchedules = courseScheduleDao.queryPreCourseListByClassGroupId(classGroupId);
 | 
	
	
		
			
				|  | @@ -3247,7 +3247,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
 | 
	
		
			
				|  |  |              params.put("offset", pageInfo.getOffset());
 | 
	
		
			
				|  |  |              dataList = classGroupDao.queryMusicGroupClassGroup(params);
 | 
	
		
			
				|  |  |              List<Integer> classGroups = dataList.stream().map(e -> e.getClassGroupId()).collect(Collectors.toList());
 | 
	
		
			
				|  |  | -            Map<Integer, Long> totalNumMap = MapUtil.convertIntegerMap(courseScheduleDao.countTotalNumByClassGroupId(classGroups, null));
 | 
	
		
			
				|  |  | +            Map<Integer, Long> totalNumMap = MapUtil.convertIntegerMap(courseScheduleDao.countTotalNumByClassGroupId(classGroups, null,0));
 | 
	
		
			
				|  |  |              Map<Integer, Long> currentNumMap = MapUtil.convertIntegerMap(courseScheduleDao.countExpendNumByClassGroupId(classGroups));
 | 
	
		
			
				|  |  |              String join = StringUtils.join(classGroups, ",");
 | 
	
		
			
				|  |  |              //获取主教老师
 | 
	
	
		
			
				|  | @@ -3487,7 +3487,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
 | 
	
		
			
				|  |  |          List<ClassGroupTeacherMapper> classGroupTeachers = classGroupTeacherMapperDao.findClassGroupTeachers(classGroupIds);
 | 
	
		
			
				|  |  |          Map<Integer, Integer> studyNums = JSONObject.parseObject(JSONObject.toJSONString(MapUtil.convertIntegerMap(classGroupDao.countStudyNum(classGroupIds))), HashMap.class);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        Map<Integer, Long> totalNumMap = MapUtil.convertIntegerMap(courseScheduleDao.countTotalNumByClassGroupId(classGroupSet, null));
 | 
	
		
			
				|  |  | +        Map<Integer, Long> totalNumMap = MapUtil.convertIntegerMap(courseScheduleDao.countTotalNumByClassGroupId(classGroupSet, null,0));
 | 
	
		
			
				|  |  |          MusicGroupSchoolTermCourseDetail termCourseDetail = musicGroupSchoolTermCourseDetailDao.findByCourseDateAndMusicGroupId(musicGroupId, null,0);
 | 
	
		
			
				|  |  |          Map<Integer, Long> preTotalNumMap = null;
 | 
	
		
			
				|  |  |          Map<Integer, Long> preSubMinutesMap = null;
 | 
	
	
		
			
				|  | @@ -3580,7 +3580,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
 | 
	
		
			
				|  |  |              List<ClassGroupTeacherMapper> classGroupTeachers = classGroupTeacherMapperDao.findClassGroupTeachers(classGroupIds);
 | 
	
		
			
				|  |  |              Map<Integer, Integer> studyNums = JSONObject.parseObject(JSONObject.toJSONString(MapUtil.convertIntegerMap(classGroupDao.countStudyNum(classGroupIds))), HashMap.class);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -            Map<Integer, Long> totalNumMap = MapUtil.convertIntegerMap(courseScheduleDao.countTotalNumByClassGroupId(classGroupSet, null));
 | 
	
		
			
				|  |  | +            Map<Integer, Long> totalNumMap = MapUtil.convertIntegerMap(courseScheduleDao.countTotalNumByClassGroupId(classGroupSet, null,0));
 | 
	
		
			
				|  |  |              Map<Integer, Long> currentNumMap = MapUtil.convertIntegerMap(courseScheduleDao.countExpendNumByClassGroupId(classGroupSet));
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              for (ClassGroupTeachersDto classGroup : dataList) {
 |