|
@@ -7,6 +7,7 @@ import javax.transaction.Transactional;
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
@@ -31,6 +32,7 @@ import cn.com.qmth.examcloud.core.examwork.dao.entity.ExamStudent;
|
|
import cn.com.qmth.examcloud.core.examwork.service.impl.ExamStudentService;
|
|
import cn.com.qmth.examcloud.core.examwork.service.impl.ExamStudentService;
|
|
import cn.com.qmth.examcloud.examwork.api.ExamStudentCloudService;
|
|
import cn.com.qmth.examcloud.examwork.api.ExamStudentCloudService;
|
|
import cn.com.qmth.examcloud.examwork.api.request.SaveExamStudentReq;
|
|
import cn.com.qmth.examcloud.examwork.api.request.SaveExamStudentReq;
|
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
|
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
@@ -64,6 +66,8 @@ public class ExamStudentCloudServiceProvider extends ControllerSupport
|
|
@Autowired
|
|
@Autowired
|
|
CourseCloudService courseCloudService;
|
|
CourseCloudService courseCloudService;
|
|
|
|
|
|
|
|
+ @ApiOperation(value = "保存考生")
|
|
|
|
+ @PostMapping("saveExamStudent")
|
|
@Override
|
|
@Override
|
|
public void saveExamStudent(SaveExamStudentReq req) {
|
|
public void saveExamStudent(SaveExamStudentReq req) {
|
|
|
|
|