Skip to content

Commit

Permalink
Changes to allow editing the proficiency score.
Browse files Browse the repository at this point in the history
  • Loading branch information
sumathi-thirumani committed Nov 27, 2024
1 parent 1c936e4 commit b89c776
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public AssessmentStudentEntity updateStudent(AssessmentStudentEntity assessmentS
AssessmentStudentEntity currentAssessmentStudentEntity = assessmentStudentRepository.findById(assessmentStudentEntity.getAssessmentStudentID()).orElseThrow(() ->
new EntityNotFoundException(AssessmentStudentEntity.class, "AssessmentStudent", assessmentStudentEntity.getAssessmentStudentID().toString())
);
BeanUtils.copyProperties(assessmentStudentEntity, currentAssessmentStudentEntity, "districtID", "schoolID", "studentID", "givenName", "surName", "pen", "localID", "isElectronicExam", "proficiencyScore", "courseStatusCode", "assessmentStudentStatusCode", "createUser", "createDate");
BeanUtils.copyProperties(assessmentStudentEntity, currentAssessmentStudentEntity, "districtID", "schoolID", "studentID", "givenName", "surName", "pen", "localID", "isElectronicExam", "courseStatusCode", "assessmentStudentStatusCode", "createUser", "createDate");
TransformUtil.uppercaseFields(currentAssessmentStudentEntity);
return createAssessmentStudentWithHistory(currentAssessmentStudentEntity);
}
Expand Down

0 comments on commit b89c776

Please sign in to comment.