|
@@ -1,12 +1,12 @@
|
|
|
/*
|
|
|
- * *************************************************
|
|
|
- * Copyright (c) 2018 QMTH. All Rights Reserved.
|
|
|
- * Created by Deason on 2018-07-31 17:31:34.
|
|
|
+ * ************************************************* Copyright (c) 2018 QMTH.
|
|
|
+ * All Rights Reserved. Created by Deason on 2018-07-31 17:31:34.
|
|
|
* *************************************************
|
|
|
*/
|
|
|
|
|
|
package cn.com.qmth.examcloud.app.service;
|
|
|
|
|
|
+import cn.com.qmth.examcloud.app.model.GetYunSignatureReq;
|
|
|
import cn.com.qmth.examcloud.app.model.Result;
|
|
|
|
|
|
/**
|
|
@@ -60,7 +60,8 @@ public interface CoreOeService {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- Result uploadPaperAnswer(String key, String token, String examRecordId, byte[] fileBytes, String fileName, String md5) throws Exception;
|
|
|
+ Result uploadPaperAnswer(String key, String token, String examRecordId, byte[] fileBytes, String fileName,
|
|
|
+ String md5) throws Exception;
|
|
|
|
|
|
/**
|
|
|
* 获取某考试批次下的课程列表
|
|
@@ -103,7 +104,9 @@ public interface CoreOeService {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- Result getAdminExamPaperStructList(String key, String token, String examRecordId,String fromCache) throws Exception;
|
|
|
+ Result getAdminExamPaperStructList(String key, String token, String examRecordId, String fromCache)
|
|
|
+ throws Exception;
|
|
|
+
|
|
|
/**
|
|
|
* 获取当前练习的试卷大题结构信息
|
|
|
*
|
|
@@ -134,7 +137,8 @@ public interface CoreOeService {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- Result getExamRecordPaperQuestionDetail(String key, String token, String questionId, String examRecordId) throws Exception;
|
|
|
+ Result getExamRecordPaperQuestionDetail(String key, String token, String questionId, String examRecordId)
|
|
|
+ throws Exception;
|
|
|
|
|
|
/**
|
|
|
* 保存或更新考生作答的某个试题答案
|
|
@@ -145,7 +149,8 @@ public interface CoreOeService {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- Result updateExamRecordPaperQuestionAnswer(String key, String token, Integer order, String studentAnswer) throws Exception;
|
|
|
+ Result updateExamRecordPaperQuestionAnswer(String key, String token, Integer order, String studentAnswer)
|
|
|
+ throws Exception;
|
|
|
|
|
|
/**
|
|
|
* 当前练习的交卷
|
|
@@ -187,7 +192,7 @@ public interface CoreOeService {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- Result getExamRecordTotalInfo(String key, String token, String examRecordId,String fromCache) throws Exception;
|
|
|
+ Result getExamRecordTotalInfo(String key, String token, String examRecordId, String fromCache) throws Exception;
|
|
|
|
|
|
/**
|
|
|
* 获取作答的题列表
|
|
@@ -221,7 +226,8 @@ public interface CoreOeService {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- Result updateExamRecordQuestionAudioPlayTimes(String key, String token, String questionId, String mediaName) throws Exception;
|
|
|
+ Result updateExamRecordQuestionAudioPlayTimes(String key, String token, String questionId, String mediaName)
|
|
|
+ throws Exception;
|
|
|
|
|
|
/**
|
|
|
* 练习记录配置信息
|
|
@@ -232,7 +238,7 @@ public interface CoreOeService {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- Result findExamRecordDataEntity(String key, String token, Long examRecordDataId,String fromCache) throws Exception;
|
|
|
+ Result findExamRecordDataEntity(String key, String token, Long examRecordDataId, String fromCache) throws Exception;
|
|
|
|
|
|
/**
|
|
|
* 练习记录试题列表
|
|
@@ -243,9 +249,11 @@ public interface CoreOeService {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- Result getExamRecordQuestions(String key, String token, Long examRecordDataId,String fromCache) throws Exception;
|
|
|
+ Result getExamRecordQuestions(String key, String token, Long examRecordDataId, String fromCache) throws Exception;
|
|
|
|
|
|
- /**查询考生的考试批次属性集
|
|
|
+ /**
|
|
|
+ * 查询考生的考试批次属性集
|
|
|
+ *
|
|
|
* @param key
|
|
|
* @param token
|
|
|
* @param examId
|
|
@@ -256,12 +264,38 @@ public interface CoreOeService {
|
|
|
Result getExamPropertyFromCacheByStudentSession(String key, String token, Long examId, String keys)
|
|
|
throws Exception;
|
|
|
|
|
|
- /**根据Id获取试卷
|
|
|
+ /**
|
|
|
+ * 根据Id获取试卷
|
|
|
+ *
|
|
|
* @param key
|
|
|
* @param token
|
|
|
* @param paperId
|
|
|
* @return
|
|
|
*/
|
|
|
- Result getPaperById(String key, String token, String paperId) throws Exception ;
|
|
|
+ Result getPaperById(String key, String token, String paperId) throws Exception;
|
|
|
+
|
|
|
+ /**获取文件上传签名
|
|
|
+ * @param key
|
|
|
+ * @param token
|
|
|
+ * @param req
|
|
|
+ * @return
|
|
|
+ * @throws Exception
|
|
|
+ */
|
|
|
+ Result getYunSignature(String key, String token, GetYunSignatureReq req) throws Exception;
|
|
|
+
|
|
|
+ /**获取在线考试待考列表
|
|
|
+ * @param key
|
|
|
+ * @param token
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ Result queryExamList(String key, String token) throws Exception;
|
|
|
+
|
|
|
+ /**获取考试记录信息
|
|
|
+ * @param key
|
|
|
+ * @param token
|
|
|
+ * @param examRecordDataId
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ Result getEndExamInfo(String key, String token, Long examRecordDataId) throws Exception;
|
|
|
|
|
|
}
|