Skip to content

Commit

Permalink
Merge pull request #517 from bcgov/develop/alex-GRAD2-2377
Browse files Browse the repository at this point in the history
GRAD2-2377
  • Loading branch information
arybakov-cgi authored Apr 20, 2024
2 parents 0e4cb6f + 63d1eae commit 743d4e1
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,12 @@ private Integer createAndStoreSchoolReports(String reportType, List<ReportGradSt
Student student = processNewCredentialsSchoolMap(reportGradStudentData);
if (student != null && !school.getStudents().contains(student)) {
school.getStudents().add(student);
} else if (student != null) {
for(Student st: school.getStudents()) {
if(st.getPen().equals(student.getPen())) {
st.getGraduationStatus().setCertificates(reportGradStudentData.getCertificateTypeCode());
}
}
}
}
Map<String, School> issuedTranscriptsSchoolMap = new HashMap<>();
Expand Down

0 comments on commit 743d4e1

Please sign in to comment.