Skip to content

Commit

Permalink
Fixes for length.
Browse files Browse the repository at this point in the history
  • Loading branch information
arcshiftsolutions committed Aug 8, 2024
1 parent b5179c2 commit b1bef53
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public void processEvent(final StudentCreate request, final Event event) {
val penDemographicsEntity = PenDemogStudentMapper.mapper.toPenDemog(request);
penDemographicsEntity.setCreateDate(LocalDateTime.now());
penDemographicsEntity.setUpdateDate(LocalDateTime.now());
penDemographicsEntity.setCreateUser(StringUtils.substring(request.getCreateUser(),0,15));
penDemographicsEntity.setUpdateUser(StringUtils.substring(request.getUpdateUser(), 0,15));
penDemographicsEntity.setStudBirth(StringUtils.replace(penDemographicsEntity.getStudBirth(), "-", ""));
if (StringUtils.isNotBlank(request.getGradeYear()) && StringUtils.isNumeric(request.getGradeYear())) {
penDemographicsEntity.setGradeYear(request.getGradeYear());
Expand Down

0 comments on commit b1bef53

Please sign in to comment.