|
@@ -43,7 +43,7 @@ public class ExamRegistrationServiceImpl extends BaseServiceImpl<Long, ExamRegis
|
|
|
List<Integer> subjectIds = dataList.stream().map(ExamRegistration::getSubjectId).collect(Collectors.toList());
|
|
|
Map<Integer, String> subjectIdNameMap = this.getMap("subject", "id_", "name_", subjectIds, Integer.class, String.class);
|
|
|
for (ExamRegistration examRegistration : dataList) {
|
|
|
- examRegistration.getAgency().setName(agencyIdNameMap.get(examRegistration.getAgencyId()));
|
|
|
+ examRegistration.getOrganization().setName(agencyIdNameMap.get(examRegistration.getAgencyId()));
|
|
|
examRegistration.getSubject().setName(subjectIdNameMap.get(examRegistration.getStudentId()));
|
|
|
}
|
|
|
}
|