Przeglądaj źródła

优化网考后端代码

lideyin 5 lat temu
rodzic
commit
3e8a5a9db5

+ 10 - 0
examcloud-core-oe-admin-api-client/src/main/java/cn/com/qmth/examcloud/core/oe/admin/client/ExamRecordForMarkingCloudServiceClient.java

@@ -40,4 +40,14 @@ public class ExamRecordForMarkingCloudServiceClient extends AbstractCloudClientS
 				GetSingleExamRecordDataResp.class);
 	}
 
+	/**
+	 * 更新阅卷原始数据表批次号
+	 *
+	 * @param req
+	 */
+	@Override
+	public void updateExamRecordForMarkingBatchNum(UpdateExamRecordForMarkingBatchNumReq req) {
+		post("examRecordForMarking/updateExamRecordForMarkingBatchNum", req);
+	}
+
 }

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

@@ -37,4 +37,9 @@ public interface ExamRecordForMarkingCloudService extends CloudService{
 	 */
 	GetSingleExamRecordDataResp getSingleExamRecordData(GetSingleExamRecordDataReq req);
 
+	/**
+	 * 更新阅卷原始数据表批次号
+	 * @param req
+	 */
+	void updateExamRecordForMarkingBatchNum(UpdateExamRecordForMarkingBatchNumReq req);
 }

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

@@ -0,0 +1,40 @@
+package cn.com.qmth.examcloud.core.oe.admin.api.request;
+
+import cn.com.qmth.examcloud.api.commons.exchange.BaseRequest;
+
+import java.util.List;
+
+/**
+ * @Description 更新阅卷原始数据表的批次号
+ * @Author lideyin
+ * @Date 2019/10/22 11:05
+ * @Version 1.0
+ */
+public class UpdateExamRecordForMarkingBatchNumReq extends BaseRequest {
+    private static final long serialVersionUID = -2055534487863410435L;
+
+    /**
+     * 阅卷原始数据表主键id(最大不得超过100条数据)
+     */
+    private List<Long> idList;
+    /**
+     * 批次号
+     */
+    private String batchNum;
+
+    public List<Long> getIdList() {
+        return idList;
+    }
+
+    public void setIdList(List<Long> idList) {
+        this.idList = idList;
+    }
+
+    public String getBatchNum() {
+        return batchNum;
+    }
+
+    public void setBatchNum(String batchNum) {
+        this.batchNum = batchNum;
+    }
+}