|
@@ -24,7 +24,7 @@ import cn.com.qmth.examcloud.exchange.outer.api.bean.Student4BatchBean;
|
|
|
import cn.com.qmth.examcloud.exchange.outer.api.bean.StudentStatus4BatchBean;
|
|
|
import cn.com.qmth.examcloud.exchange.outer.api.request.OuterBatchSaveStudentReq;
|
|
|
import cn.com.qmth.examcloud.exchange.outer.api.request.OuterSaveStudentReq;
|
|
|
-import cn.com.qmth.examcloud.exchange.outer.api.response.BatchOuterSaveStudentResp;
|
|
|
+import cn.com.qmth.examcloud.exchange.outer.api.response.OuterBatchSaveStudentResp;
|
|
|
import cn.com.qmth.examcloud.exchange.outer.api.response.OuterSaveStudentResp;
|
|
|
import cn.com.qmth.examcloud.exchange.outer.service.FaceService;
|
|
|
import cn.com.qmth.examcloud.web.config.SystemConfig;
|
|
@@ -150,11 +150,11 @@ public class StudentOuterServiceProvider extends ControllerSupport implements St
|
|
|
|
|
|
@ApiOperation(value = "批量保存学生信息", httpMethod = "POST")
|
|
|
@ApiResponses({
|
|
|
- @ApiResponse(code = 200, message = "成功", response = BatchOuterSaveStudentResp.class),
|
|
|
+ @ApiResponse(code = 200, message = "成功", response = OuterBatchSaveStudentResp.class),
|
|
|
@ApiResponse(code = 500, message = "系统异常(异常信息见响应体)", response = StatusResponse.class)})
|
|
|
@PostMapping("batchSaveStudent")
|
|
|
@Override
|
|
|
- public BatchOuterSaveStudentResp batchSaveStudent(
|
|
|
+ public OuterBatchSaveStudentResp batchSaveStudent(
|
|
|
@RequestBody @ApiParam(required = true) OuterBatchSaveStudentReq outerBatchSaveStudentReq) {
|
|
|
if (!getEnterpriseRootOrgId().equals(outerBatchSaveStudentReq.getRootOrgId())) {
|
|
|
throw new StatusException("1000001", "rootOrgId is wrong");
|
|
@@ -195,7 +195,7 @@ public class StudentOuterServiceProvider extends ControllerSupport implements St
|
|
|
failureList.add(studentStatus4BatchBeanfailure);
|
|
|
}
|
|
|
}
|
|
|
- BatchOuterSaveStudentResp resq = new BatchOuterSaveStudentResp();
|
|
|
+ OuterBatchSaveStudentResp resq = new OuterBatchSaveStudentResp();
|
|
|
resq.setSuccessList(successList);
|
|
|
resq.setFailureList(failureList);
|
|
|
return resq;
|