Selaa lähdekoodia

环境监测bug fix

lideyin 5 vuotta sitten
vanhempi
commit
a58fe6d9af

+ 13 - 8
examcloud-core-oe-admin-api-client/src/main/java/cn/com/qmth/examcloud/core/oe/admin/client/ExamRecordCloudServiceClient.java

@@ -1,14 +1,8 @@
 package cn.com.qmth.examcloud.core.oe.admin.client;
 
 import cn.com.qmth.examcloud.core.oe.admin.api.ExamRecordCloudService;
-import cn.com.qmth.examcloud.core.oe.admin.api.request.CheckExamIsStartedReq;
-import cn.com.qmth.examcloud.core.oe.admin.api.request.GetExamPhotoVerifyDataReq;
-import cn.com.qmth.examcloud.core.oe.admin.api.request.GetToBeMarkExamRecordReq;
-import cn.com.qmth.examcloud.core.oe.admin.api.request.QueryExamRecordForSelectScoreReq;
-import cn.com.qmth.examcloud.core.oe.admin.api.response.CheckExamIsStartedResp;
-import cn.com.qmth.examcloud.core.oe.admin.api.response.GetExamPhotoVerifyDataResp;
-import cn.com.qmth.examcloud.core.oe.admin.api.response.GetToBeMarkExamRecordResp;
-import cn.com.qmth.examcloud.core.oe.admin.api.response.QueryExamRecordForSelectScoreResp;
+import cn.com.qmth.examcloud.core.oe.admin.api.request.*;
+import cn.com.qmth.examcloud.core.oe.admin.api.response.*;
 import org.springframework.stereotype.Service;
 
 @Service("examRecordCloudService")
@@ -46,4 +40,15 @@ public class ExamRecordCloudServiceClient extends AbstractCloudClientSupport
 	public GetToBeMarkExamRecordResp getToBeMarkExamRecord(GetToBeMarkExamRecordReq req) {
 		return post("examRecord/getToBeMarkExamRecord", req, GetToBeMarkExamRecordResp.class);
 	}
+
+	/**
+	 * 获取部分考试记录数据
+	 *
+	 * @param req
+	 * @return
+	 */
+	@Override
+	public GetPartialExamRecordDataResp getPartialExamRecordData(GetPartialExamRecordDataReq req) {
+		return post("examRecord/getPartialExamRecordData", req, GetPartialExamRecordDataResp.class);
+	}
 }

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

@@ -1,14 +1,8 @@
 package cn.com.qmth.examcloud.core.oe.admin.api;
 
 import cn.com.qmth.examcloud.api.commons.CloudService;
-import cn.com.qmth.examcloud.core.oe.admin.api.request.CheckExamIsStartedReq;
-import cn.com.qmth.examcloud.core.oe.admin.api.request.GetExamPhotoVerifyDataReq;
-import cn.com.qmth.examcloud.core.oe.admin.api.request.GetToBeMarkExamRecordReq;
-import cn.com.qmth.examcloud.core.oe.admin.api.request.QueryExamRecordForSelectScoreReq;
-import cn.com.qmth.examcloud.core.oe.admin.api.response.CheckExamIsStartedResp;
-import cn.com.qmth.examcloud.core.oe.admin.api.response.GetExamPhotoVerifyDataResp;
-import cn.com.qmth.examcloud.core.oe.admin.api.response.GetToBeMarkExamRecordResp;
-import cn.com.qmth.examcloud.core.oe.admin.api.response.QueryExamRecordForSelectScoreResp;
+import cn.com.qmth.examcloud.core.oe.admin.api.request.*;
+import cn.com.qmth.examcloud.core.oe.admin.api.response.*;
 
 /**
  * 
@@ -24,27 +18,27 @@ public interface ExamRecordCloudService extends CloudService{
 	 * @param examRecordReq
 	 * @return
 	 */
-	public CheckExamIsStartedResp checkExamIsStarted(CheckExamIsStartedReq examRecordReq);
+	CheckExamIsStartedResp checkExamIsStarted(CheckExamIsStartedReq examRecordReq);
 	/**
 	 * 查询考试记录-供exchange使用
 	 * @param req
 	 * @return
 	 */
-	public QueryExamRecordForSelectScoreResp queryExamRecordForSelectScoreByScoreId(QueryExamRecordForSelectScoreReq req);
+	QueryExamRecordForSelectScoreResp queryExamRecordForSelectScoreByScoreId(QueryExamRecordForSelectScoreReq req);
 	
 	/**
 	 * 查询考试记录-供exchange使用
 	 * @param req
 	 * @return
 	 */
-	public QueryExamRecordForSelectScoreResp queryExamRecordForSelectScoreByExamStudentId(QueryExamRecordForSelectScoreReq req);
+	QueryExamRecordForSelectScoreResp queryExamRecordForSelectScoreByExamStudentId(QueryExamRecordForSelectScoreReq req);
 	
 	/**
 	 * 查询照片数据
 	 * @param req
 	 * @return
 	 */
-	public GetExamPhotoVerifyDataResp getExamPhotoVerifyData(GetExamPhotoVerifyDataReq req);
+	GetExamPhotoVerifyDataResp getExamPhotoVerifyData(GetExamPhotoVerifyDataReq req);
 
 	/**
 	 * 获取待阅卷的考试记录
@@ -52,4 +46,11 @@ public interface ExamRecordCloudService extends CloudService{
 	 * @return
 	 */
 	GetToBeMarkExamRecordResp getToBeMarkExamRecord(GetToBeMarkExamRecordReq req);
+
+	/**
+	 * 获取部分考试记录数据
+	 * @param req
+	 * @return
+	 */
+	GetPartialExamRecordDataResp getPartialExamRecordData(GetPartialExamRecordDataReq req);
 }

+ 24 - 0
examcloud-core-oe-admin-api/src/main/java/cn/com/qmth/examcloud/core/oe/admin/api/request/GetPartialExamRecordDataReq.java

@@ -0,0 +1,24 @@
+package cn.com.qmth.examcloud.core.oe.admin.api.request;
+
+import cn.com.qmth.examcloud.api.commons.exchange.BaseRequest;
+
+/**
+ * @Description 获取部分考试记录请求
+ * @Author lideyin
+ * @Date 2020/1/6 16:49
+ * @Version 1.0
+ */
+public class GetPartialExamRecordDataReq extends BaseRequest {
+
+	private static final long serialVersionUID = -8320597794764180197L;
+
+	private Long examRecordDataId;
+
+	public Long getExamRecordDataId() {
+		return examRecordDataId;
+	}
+
+	public void setExamRecordDataId(Long examRecordDataId) {
+		this.examRecordDataId = examRecordDataId;
+	}
+}

+ 25 - 0
examcloud-core-oe-admin-api/src/main/java/cn/com/qmth/examcloud/core/oe/admin/api/response/GetPartialExamRecordDataResp.java

@@ -0,0 +1,25 @@
+package cn.com.qmth.examcloud.core.oe.admin.api.response;
+
+import cn.com.qmth.examcloud.api.commons.exchange.BaseResponse;
+import cn.com.qmth.examcloud.core.oe.admin.api.bean.ScoreDataBean;
+
+import java.util.List;
+/**
+ * @Description 获取部分考试记录(根据需求,自行扩展字段)
+ * @Author lideyin
+ * @Date 2020/1/6 16:51
+ * @Version 1.0
+ */
+public class GetPartialExamRecordDataResp extends BaseResponse {
+	private static final long serialVersionUID = -1244321710403489810L;
+
+	private Long examStudentId;
+
+	public Long getExamStudentId() {
+		return examStudentId;
+	}
+
+	public void setExamStudentId(Long examStudentId) {
+		this.examStudentId = examStudentId;
+	}
+}