| 
					
				 | 
			
			
				@@ -180,12 +180,12 @@ public class ExamRoomStudentRelationServiceImpl extends BaseServiceImpl<Long, Ex 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			pageInfo.setTotal(count); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			params.put("offset", pageInfo.getOffset()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			dataList = examRoomStudentRelationDao.findExamRoomStudents(params); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			List<Integer> studentIds = dataList.stream().map(ExamRoomStudentRelationDto::getStudentId).collect(Collectors.toList()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			List<Integer> studentIds = dataList.stream().map(e->e.getExamRegistration().getStudentId()).collect(Collectors.toList()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			List<Integer> subjectIds = dataList.stream().map(e->e.getExamRegistration().getSubjectId()).collect(Collectors.toList()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			Map<Integer, String> studentIdNameMap = this.getMap("sys_user", "id_", "real_name_", studentIds, Integer.class, String.class); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			Map<Integer, String> subjectIdNameMap = this.getMap("subject", "id_", "name_", subjectIds, Integer.class, String.class); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			for (ExamRoomStudentRelationDto e : dataList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				e.setStudentInfo(new SysUser(e.getStudentId(),studentIdNameMap.get(e.getStudentId()))); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				e.setStudentInfo(new SysUser(e.getStudentId(),studentIdNameMap.get(e.getExamRegistration().getStudentId()))); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				e.setSubject(new Subject(e.getExamRegistration().getSubjectId(), subjectIdNameMap.get(e.getExamRegistration().getSubjectId()))); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		} 
			 |