瀏覽代碼

优化 StudentPaperCloudService

nikang 6 年之前
父節點
當前提交
6da587e490

+ 1 - 1
examcloud-core-marking-api-client/src/main/java/cn/com/qmth/examcloud/marking/api/client/StudentPaperCloudServiceClient.java

@@ -36,6 +36,6 @@ public class StudentPaperCloudServiceClient extends BasicCloudClientSupport impl
 
     @Override
     public GetStudentPaperResp getStudentPaper(GetStudentPaperReq req) {
-        return post("",req,GetStudentPaperResp.class);
+        return post("studentPaper/getPaper",req,GetStudentPaperResp.class);
     }
 }

+ 16 - 0
examcloud-core-marking-api/src/main/java/cn/com/qmth/examcloud/marking/api/request/GetStudentPaperReq.java

@@ -13,8 +13,16 @@ public class GetStudentPaperReq extends BaseRequest {
 
     private static final long serialVersionUID = -6892765618820908426L;
 
+    /**
+     * 阅卷任务表ID---ecs_marking_mark_task
+     */
     private long markTaskId;
 
+    /**
+     * 待阅卷的考卷信息表ID---ecs_marking_student_paper
+     */
+    private long studentPaperId;
+
     public long getMarkTaskId() {
         return markTaskId;
     }
@@ -22,4 +30,12 @@ public class GetStudentPaperReq extends BaseRequest {
     public void setMarkTaskId(long markTaskId) {
         this.markTaskId = markTaskId;
     }
+
+    public long getStudentPaperId() {
+        return studentPaperId;
+    }
+
+    public void setStudentPaperId(long studentPaperId) {
+        this.studentPaperId = studentPaperId;
+    }
 }