|
@@ -93,6 +93,7 @@ public class HandleSyncCloudServiceProvider extends ControllerSupport
|
|
|
public SyncStudentResp syncStudent(@RequestBody SyncStudentReq req) {
|
|
|
String name = req.getName();
|
|
|
Long id = req.getId();
|
|
|
+ String studentCode = req.getStudentCode();
|
|
|
|
|
|
if (StringUtils.isBlank(name)) {
|
|
|
throw new StatusException("B-100001", "name is null");
|
|
@@ -101,7 +102,7 @@ public class HandleSyncCloudServiceProvider extends ControllerSupport
|
|
|
throw new StatusException("B-100002", "id is null");
|
|
|
}
|
|
|
|
|
|
- examStudentRepo.updateStudent(name, id);
|
|
|
+ examStudentRepo.updateStudent(name, studentCode, id);
|
|
|
return null;
|
|
|
}
|
|
|
|