Joburgess 5 년 전
부모
커밋
89ff13c2a0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      edu-user/edu-user-server/src/main/java/com/keao/edu/user/service/impl/ExamRegistrationServiceImpl.java

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