فهرست منبع

完善云阅卷摘取数据接口相关代码,待调试

lideyin 5 سال پیش
والد
کامیت
c4b6ed3415

+ 5 - 2
examcloud-core-oe-admin-api/src/main/java/cn/com/qmth/examcloud/core/oe/admin/api/ExamRecordCloudService.java

@@ -57,7 +57,10 @@ public interface ExamRecordCloudService extends CloudService{
 	 */
 	GetPartialExamRecordDataResp getPartialExamRecordData(GetPartialExamRecordDataReq req);
 
-	@ApiOperation(value = "获取待阅卷的考试记录-调用")
-	@PostMapping("/getPagedToBeMarkExamRecord")
+	/**
+	 * 分页获取待阅卷的考试记录
+	 * @param req
+	 * @return
+	 */
 	GetPagedToBeMarkExamRecordResp getPagedToBeMarkExamRecord(@RequestBody GetPagedToBeMarkExamRecordReq req);
 }

+ 22 - 13
examcloud-core-oe-admin-api/src/main/java/cn/com/qmth/examcloud/core/oe/admin/api/bean/PagedToBeMarkSubjectiveAnswerBean.java

@@ -2,6 +2,7 @@ package cn.com.qmth.examcloud.core.oe.admin.api.bean;
 
 import cn.com.qmth.examcloud.api.commons.exchange.JsonSerializable;
 import cn.com.qmth.examcloud.question.commons.core.question.AnswerType;
+import cn.com.qmth.examcloud.question.commons.core.question.QuestionType;
 
 /**
  * @Description 待阅卷的主观题答案实体bean
@@ -36,11 +37,6 @@ public class PagedToBeMarkSubjectiveAnswerBean implements JsonSerializable{
      */
     private AnswerType answerType;
 
-    /**
-     * 真实的题目作答类型(历史原因,图片作答类型未按规范指定)
-     */
-    private String realAnswerType;
-
 	/**
 	 * 标准答案
 	 */
@@ -56,6 +52,11 @@ public class PagedToBeMarkSubjectiveAnswerBean implements JsonSerializable{
 	 */
 	private String parentBody;
 
+	/**
+	 * 题型
+	 */
+	private QuestionType questionType;
+
 	public Integer getMainNumber() {
 		return mainNumber;
 	}
@@ -96,14 +97,6 @@ public class PagedToBeMarkSubjectiveAnswerBean implements JsonSerializable{
 		this.answerType = answerType;
 	}
 
-	public String getRealAnswerType() {
-		return realAnswerType;
-	}
-
-	public void setRealAnswerType(String realAnswerType) {
-		this.realAnswerType = realAnswerType;
-	}
-
 	public String getAnswer() {
 		return answer;
 	}
@@ -119,4 +112,20 @@ public class PagedToBeMarkSubjectiveAnswerBean implements JsonSerializable{
 	public void setBody(String body) {
 		this.body = body;
 	}
+
+	public String getParentBody() {
+		return parentBody;
+	}
+
+	public void setParentBody(String parentBody) {
+		this.parentBody = parentBody;
+	}
+
+	public QuestionType getQuestionType() {
+		return questionType;
+	}
+
+	public void setQuestionType(QuestionType questionType) {
+		this.questionType = questionType;
+	}
 }

+ 3 - 3
examcloud-core-oe-admin-api/src/main/java/cn/com/qmth/examcloud/core/oe/admin/api/request/GetPagedToBeMarkExamRecordReq.java

@@ -24,7 +24,7 @@ public class GetPagedToBeMarkExamRecordReq extends BaseRequest {
     private Long startId;
 
     @ApiModelProperty(value = "考试记录集合大小,最大不得超过500", example = "200", required = true)
-    private Long size;
+    private Integer size;
 
     public Long getExamId() {
         return examId;
@@ -50,11 +50,11 @@ public class GetPagedToBeMarkExamRecordReq extends BaseRequest {
         this.startId = startId;
     }
 
-    public Long getSize() {
+    public Integer getSize() {
         return size;
     }
 
-    public void setSize(Long size) {
+    public void setSize(Integer size) {
         this.size = size;
     }
 }