From 25c30b1bad01aec1a64bffecee5c66028c84da77 Mon Sep 17 00:00:00 2001 From: arybakov Date: Thu, 22 Aug 2024 11:17:10 -0600 Subject: [PATCH] Fix username for student history --- .../ca/bc/gov/educ/api/gradstudent/service/HistoryService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/main/java/ca/bc/gov/educ/api/gradstudent/service/HistoryService.java b/api/src/main/java/ca/bc/gov/educ/api/gradstudent/service/HistoryService.java index 98f6ee56..ebaad7ab 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/gradstudent/service/HistoryService.java +++ b/api/src/main/java/ca/bc/gov/educ/api/gradstudent/service/HistoryService.java @@ -174,6 +174,7 @@ public Integer updateStudentRecordHistoryDistributionRun(Long batchId, String up if(entity != null) { GraduationStudentRecordEntity toBeSaved = new GraduationStudentRecordEntity(); BeanUtils.copyProperties(entity, toBeSaved); + toBeSaved.setBatchId(batchId); toBeSaved.setUpdateDate(updateDate); toBeSaved.setUpdateUser(updateUser); createStudentHistory(toBeSaved, activityCode);