|  | @@ -601,12 +601,11 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
 | 
	
		
			
				|  |  |          PageInfo<TeacherMusicClassInfoDto> pageInfo = new PageInfo<>(queryInfo.getPage(), queryInfo.getRows());
 | 
	
		
			
				|  |  |          Map<String, Object> params = new HashMap<>();
 | 
	
		
			
				|  |  |          MapUtil.populateMap(params, queryInfo);
 | 
	
		
			
				|  |  | -        List<TeacherMusicClassInfoDto> dataList = null;
 | 
	
		
			
				|  |  |          int count = classGroupDao.countGroupCourses(params);
 | 
	
		
			
				|  |  | -        if (count > 0) {
 | 
	
		
			
				|  |  | -            pageInfo.setTotal(count);
 | 
	
		
			
				|  |  | -            params.put("offset", pageInfo.getOffset());
 | 
	
		
			
				|  |  | -            dataList = classGroupDao.queryGroupCourses(params);
 | 
	
		
			
				|  |  | +        pageInfo.setTotal(count);
 | 
	
		
			
				|  |  | +        params.put("offset", pageInfo.getOffset());
 | 
	
		
			
				|  |  | +        List<TeacherMusicClassInfoDto> dataList = classGroupDao.queryGroupCourses(params);
 | 
	
		
			
				|  |  | +        if (!CollectionUtils.isEmpty(dataList)) {
 | 
	
		
			
				|  |  |              HashMap<String, Object> param = new HashMap<>();
 | 
	
		
			
				|  |  |              param.put("teacherId", queryInfo.getSearch());
 | 
	
		
			
				|  |  |              param.put("attendanceStatus", YesOrNoEnum.YES);
 | 
	
	
		
			
				|  | @@ -633,10 +632,10 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
 | 
	
		
			
				|  |  |          MapUtil.populateMap(params, queryInfo);
 | 
	
		
			
				|  |  |          List<TeacherVipClassInfoDto> dataList = null;
 | 
	
		
			
				|  |  |          int count = vipGroupDao.countTeacherVipClass(queryInfo.getTeacherId());
 | 
	
		
			
				|  |  | -        if (count > 0) {
 | 
	
		
			
				|  |  | -            pageInfo.setTotal(count);
 | 
	
		
			
				|  |  | -            params.put("offset", pageInfo.getOffset());
 | 
	
		
			
				|  |  | -            dataList = vipGroupDao.getTeacherVipClass(params);
 | 
	
		
			
				|  |  | +        pageInfo.setTotal(count);
 | 
	
		
			
				|  |  | +        params.put("offset", pageInfo.getOffset());
 | 
	
		
			
				|  |  | +        dataList = vipGroupDao.getTeacherVipClass(params);
 | 
	
		
			
				|  |  | +        if (!CollectionUtils.isEmpty(dataList)) {
 | 
	
		
			
				|  |  |  //            Set<Integer> activityIds = dataList.stream().map(e -> e.getActivityId()).collect(Collectors.toSet());
 | 
	
		
			
				|  |  |  //            List<Map<Integer, String>> names = vipGroupActivityDao.queryNamesById(StringUtils.join(activityIds, ","));
 | 
	
		
			
				|  |  |  //            Map<Integer, String> nameMap = MapUtil.convertMybatisMap(names);
 |