Skip to content

Commit

Permalink
GRAD2-2426: task is completed.
Browse files Browse the repository at this point in the history
GRAD2-2426: task is completed.
  • Loading branch information
infstar committed Dec 13, 2023
1 parent eb7ae00 commit 40ba074
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -923,9 +923,11 @@ private ConversionResultType processProgramCodes(GraduationStudentRecord student
private Pair<ConversionResultType, Boolean> handleProgramCode(String programCode, GraduationStudentRecord student, StudentLoadType studentLoadType, StudentLoadType originalStudentLoadType, ConversionStudentSummaryDTO summary) {
ConversionResultType resultType;
boolean isCareerProgramCreated = false;
if (isStudentSCCPForTwoPrograms(student.getProgram(), originalStudentLoadType)) {
return Pair.of(ConversionResultType.SUCCESS, isCareerProgramCreated);
}
if (isOptionalProgramCode(programCode)) {
resultType = isStudentSCCPForTwoPrograms(student.getProgram(), originalStudentLoadType)? ConversionResultType.SUCCESS :
createStudentOptionalProgram(programCode, student, studentLoadType, summary);
resultType = createStudentOptionalProgram(programCode, student, studentLoadType, summary);
} else {
resultType = createStudentCareerProgram(programCode, student, summary);
if (ConversionResultType.SUCCESS == resultType) {
Expand Down

0 comments on commit 40ba074

Please sign in to comment.