|  | @@ -8,10 +8,7 @@ import com.keao.edu.common.tenant.TenantContextHolder;
 | 
	
		
			
				|  |  |  import com.keao.edu.user.api.entity.ExamRoom;
 | 
	
		
			
				|  |  |  import com.keao.edu.user.api.entity.ExamRoomStudentRelation;
 | 
	
		
			
				|  |  |  import com.keao.edu.user.dao.*;
 | 
	
		
			
				|  |  | -import com.keao.edu.user.dto.BaseUserInfoDto;
 | 
	
		
			
				|  |  | -import com.keao.edu.user.dto.ExamTeacherSalaryDto;
 | 
	
		
			
				|  |  | -import com.keao.edu.user.dto.ExaminationBasicDto;
 | 
	
		
			
				|  |  | -import com.keao.edu.user.dto.TeacherDto;
 | 
	
		
			
				|  |  | +import com.keao.edu.user.dto.*;
 | 
	
		
			
				|  |  |  import com.keao.edu.user.entity.ExamTeacherSalary;
 | 
	
		
			
				|  |  |  import com.keao.edu.user.entity.Teacher;
 | 
	
		
			
				|  |  |  import com.keao.edu.user.page.ExamTeacherSalaryQueryInfo;
 | 
	
	
		
			
				|  | @@ -103,7 +100,10 @@ public class ExamTeacherSalaryServiceImpl extends BaseServiceImpl<Long, ExamTeac
 | 
	
		
			
				|  |  |  			dataList = examTeacherSalaryDao.queryExamTeacherSalary(params);
 | 
	
		
			
				|  |  |  			List<Integer> examIds = dataList.stream().map(ExamTeacherSalaryDto::getExaminationBasicId).collect(Collectors.toList());
 | 
	
		
			
				|  |  |  			List<ExaminationBasicDto> exams = examinationBasicDao.getExams(examIds);
 | 
	
		
			
				|  |  | -			
 | 
	
		
			
				|  |  | +			Map<Integer, ExaminationBasicDto> idExamMap = exams.stream().collect(Collectors.toMap(ExaminationBasicDto::getId, e -> e));
 | 
	
		
			
				|  |  | +			for (ExamTeacherSalaryDto examTeacherSalaryDto : dataList) {
 | 
	
		
			
				|  |  | +				examTeacherSalaryDto.setExaminationBasic(idExamMap.get(examTeacherSalaryDto.getExaminationBasicId()));
 | 
	
		
			
				|  |  | +			}
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  		pageInfo.setRows(dataList);
 | 
	
		
			
				|  |  |  		return pageInfo;
 | 
	
	
		
			
				|  | @@ -210,4 +210,12 @@ public class ExamTeacherSalaryServiceImpl extends BaseServiceImpl<Long, ExamTeac
 | 
	
		
			
				|  |  |  		pageInfo.setRows(dataList);
 | 
	
		
			
				|  |  |  		return pageInfo;
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +	@Override
 | 
	
		
			
				|  |  | +	public ExamTeacherSalaryStaticsInfo getExamTeacherSalaryStaticsInfo(Integer examId) {
 | 
	
		
			
				|  |  | +		if(Objects.isNull(examId)){
 | 
	
		
			
				|  |  | +			throw new BizException("请指定考级项目");
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +		return examTeacherSalaryDao.getExamTeacherSalaryStaticsInfo(examId);
 | 
	
		
			
				|  |  | +	}
 | 
	
		
			
				|  |  |  }
 |