|  | @@ -172,9 +172,9 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
 | 
	
		
			
				|  |  |          if (queryInfo.getIsExport() && count > 50000) {
 | 
	
		
			
				|  |  |              throw new BizException("数据集太大,不能导出.最大数据集不能超过50000");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        if (count > 0) {
 | 
	
		
			
				|  |  | -            pageInfo.setTotal(count);
 | 
	
		
			
				|  |  | -            params.put("offset", pageInfo.getOffset());
 | 
	
		
			
				|  |  | +        pageInfo.setTotal(count);
 | 
	
		
			
				|  |  | +        params.put("offset", pageInfo.getOffset());
 | 
	
		
			
				|  |  | +        if (queryInfo.getPage() <= pageInfo.getTotalPage()) {
 | 
	
		
			
				|  |  |              dataList = studentRegistrationDao.queryStudentDetailPage(params);
 | 
	
		
			
				|  |  |              Set<Integer> subjectIds = dataList.stream().map(e -> e.getActualSubjectId()).collect(Collectors.toSet());
 | 
	
		
			
				|  |  |              Map<Integer, String> subjectMap = MapUtil.convertIntegerMap(musicGroupSubjectPlanDao.findSubjectMap(subjectIds, queryInfo.getMusicGroupId()));
 | 
	
	
		
			
				|  | @@ -189,7 +189,7 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |              });
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        if (count == 0) {
 | 
	
		
			
				|  |  | +        if (queryInfo.getPage() > pageInfo.getTotalPage()) {
 | 
	
		
			
				|  |  |              dataList = new ArrayList<>();
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          pageInfo.setRows(dataList);
 | 
	
	
		
			
				|  | @@ -1654,12 +1654,12 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
 | 
	
		
			
				|  |  |          Map<String, Boolean> viewMap = new HashMap<>();
 | 
	
		
			
				|  |  |          List<MusicGroupPaymentCalender> regCalenders = musicGroupPaymentCalenderDao.getMusicGroupRegCalenderByIds(ids);
 | 
	
		
			
				|  |  |          for (MusicGroupPaymentCalender regCalender : regCalenders) {
 | 
	
		
			
				|  |  | -            viewMap.put(regCalender.getMusicGroupId(),true);
 | 
	
		
			
				|  |  | +            viewMap.put(regCalender.getMusicGroupId(), true);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          Map<String, List<MusicGroupPaymentCalender>> musicGroupBatchNoTimes = musicGroupPaymentCalenderDao.getMusicGroupCalenderBatchNoByIds(ids).stream().collect(Collectors.groupingBy(MusicGroupPaymentCalender::getMusicGroupId));
 | 
	
		
			
				|  |  | -        musicGroupBatchNoTimes.forEach((musicGroupId,calenders)->{
 | 
	
		
			
				|  |  | -            if(viewMap.containsKey(musicGroupId) && calenders.size() > 1){
 | 
	
		
			
				|  |  | +        musicGroupBatchNoTimes.forEach((musicGroupId, calenders) -> {
 | 
	
		
			
				|  |  | +            if (viewMap.containsKey(musicGroupId) && calenders.size() > 1) {
 | 
	
		
			
				|  |  |                  viewMap.remove(musicGroupId);
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          });
 |