|
@@ -276,9 +276,10 @@ public class ExamStudentController extends ControllerSupport {
|
|
|
@PostMapping()
|
|
|
public ExamStudentDomain addExamStudent(HttpServletRequest request,
|
|
|
@RequestBody ExamStudentDomain examStudent) {
|
|
|
+ trim(examStudent);
|
|
|
Long rootOrgId = getRootOrgId();
|
|
|
examStudent.setRootOrgId(rootOrgId);
|
|
|
- examStudent.setInfoCollector(getAccessUser().getDisplayName());
|
|
|
+ examStudent.setInfoCollector(examStudent.getInfoCollector());
|
|
|
return saveExamStudent(examStudent);
|
|
|
}
|
|
|
|
|
@@ -293,9 +294,10 @@ public class ExamStudentController extends ControllerSupport {
|
|
|
@ApiOperation(value = "更新考试学生", notes = "更新")
|
|
|
@PutMapping()
|
|
|
public ExamStudentDomain updateExamStudent(@RequestBody ExamStudentDomain examStudent) {
|
|
|
+ trim(examStudent);
|
|
|
Long rootOrgId = getRootOrgId();
|
|
|
examStudent.setRootOrgId(rootOrgId);
|
|
|
- examStudent.setInfoCollector(getAccessUser().getDisplayName());
|
|
|
+ examStudent.setInfoCollector(examStudent.getInfoCollector());
|
|
|
return saveExamStudent(examStudent);
|
|
|
}
|
|
|
|