Skip to content

Commit

Permalink
GRAD2-2034: localdate issue on last updated date is fixed for school …
Browse files Browse the repository at this point in the history
…reports. (#569)

GRAD2-2034: localdate issue on last updated date is fixed for school reports.
  • Loading branch information
infstar authored Aug 22, 2023
1 parent c8df4bf commit ad904b0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import ca.bc.gov.educ.api.gradstudent.model.dto.GraduationStudentRecordDistribution;
import ca.bc.gov.educ.api.gradstudent.model.dto.ProjectedRunClob;
import ca.bc.gov.educ.api.gradstudent.model.entity.GraduationStudentRecordEntity;
import ca.bc.gov.educ.api.gradstudent.util.DateUtils;
import ca.bc.gov.educ.api.gradstudent.util.EducGradStudentApiUtils;
import ca.bc.gov.educ.api.gradstudent.util.GradValidation;
import com.fasterxml.jackson.core.JsonProcessingException;
Expand Down Expand Up @@ -139,6 +140,8 @@ public List<GraduationStudentRecord> tToDForBatch(Iterable<GraduationStudentReco
}
gradStatus.setStudentCitizenship(gradStatusEntity.getStudentCitizenship());
gradStatus.setStudentGradData(null);
gradStatus.setCreateDate(DateUtils.toLocalDateTime(gradStatusEntity.getCreateDate()));
gradStatus.setUpdateDate(DateUtils.toLocalDateTime(gradStatusEntity.getUpdateDate()));
gradStatusList.add(gradStatus);
}
return gradStatusList;
Expand Down

0 comments on commit ad904b0

Please sign in to comment.