Skip to content

Commit

Permalink
Added history tracking info
Browse files Browse the repository at this point in the history
  • Loading branch information
arybakov-cgi committed Sep 12, 2024
1 parent 927c3d8 commit c082043
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1122,6 +1122,8 @@ public Pair<GraduationStudentRecord, GradStatusEvent> undoCompletionStudent(UUID
for(StudentOptionalProgramEntity studentOptionalProgramEntity: studentOptionalProgramEntities) {
studentOptionalProgramEntity.setOptionalProgramCompletionDate(null);
studentOptionalProgramEntity.setStudentOptionalProgramData(null);
studentOptionalProgramEntity.setUpdateDate(LocalDateTime.now());
studentOptionalProgramEntity.setUpdateUser(ThreadLocalStateUtil.getCurrentUser());
gradStudentOptionalProgramRepository.save(studentOptionalProgramEntity);
historyService.createStudentOptionalProgramHistory(studentOptionalProgramEntity,USER_UNDO_CMPL);
}
Expand Down

0 comments on commit c082043

Please sign in to comment.