|
@@ -4,13 +4,11 @@ import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
-import cn.com.qmth.examcloud.core.oe.admin.api.bean.SubjectiveAnswerBean;
|
|
|
|
import cn.com.qmth.examcloud.core.oe.admin.api.request.*;
|
|
import cn.com.qmth.examcloud.core.oe.admin.api.request.*;
|
|
import cn.com.qmth.examcloud.core.oe.admin.api.response.*;
|
|
import cn.com.qmth.examcloud.core.oe.admin.api.response.*;
|
|
import cn.com.qmth.examcloud.question.commons.core.question.DefaultQuestionStructure;
|
|
import cn.com.qmth.examcloud.question.commons.core.question.DefaultQuestionStructure;
|
|
import cn.com.qmth.examcloud.question.commons.core.question.DefaultQuestionUnit;
|
|
import cn.com.qmth.examcloud.question.commons.core.question.DefaultQuestionUnit;
|
|
import cn.com.qmth.examcloud.support.cache.bean.QuestionCacheBean;
|
|
import cn.com.qmth.examcloud.support.cache.bean.QuestionCacheBean;
|
|
-import io.netty.util.internal.StringUtil;
|
|
|
|
import org.jsoup.Jsoup;
|
|
import org.jsoup.Jsoup;
|
|
import org.jsoup.nodes.Document;
|
|
import org.jsoup.nodes.Document;
|
|
import org.jsoup.nodes.Element;
|
|
import org.jsoup.nodes.Element;
|
|
@@ -269,6 +267,38 @@ public class ExamRecordCloudServiceProvider extends ControllerSupport implements
|
|
return resp;
|
|
return resp;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 获取待阅卷的考试记录
|
|
|
|
+ *
|
|
|
|
+ * @param req
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @Override
|
|
|
|
+ @ApiOperation(value = "获取待阅卷的考试记录-供bridge调用")
|
|
|
|
+ @PostMapping("/getToBeMarkExamRecord")
|
|
|
|
+ public GetPagedToBeMarkExamRecordResp getPagedToBeMarkExamRecord(@RequestBody GetPagedToBeMarkExamRecordReq req) {
|
|
|
|
+ if (null == req.getExamId()) {
|
|
|
|
+ throw new StatusException("101001", "考试id不允许为空");
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (StringUtils.isNullOrEmpty(req.getSubjectCode())) {
|
|
|
|
+ throw new StatusException("101002", "科目代码不允许为空");
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (null == req.getStartId()) {
|
|
|
|
+ throw new StatusException("101003", "考试记录id不允许为空");
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (null == req.getSize()) {
|
|
|
|
+ throw new StatusException("101004", "数据量大小不允许为空");
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ GetPagedToBeMarkExamRecordResp resp = new GetPagedToBeMarkExamRecordResp();
|
|
|
|
+ return resp;
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 获取待评阅的主观题集合
|
|
* 获取待评阅的主观题集合
|
|
*
|
|
*
|