Joburgess 5 years ago
parent
commit
89ff13c2a0

+ 1 - 1
edu-user/edu-user-server/src/main/java/com/keao/edu/user/service/impl/ExamRegistrationServiceImpl.java

@@ -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()));
 			}
 		}