|
@@ -6,12 +6,14 @@ import cn.com.qmth.examcloud.api.commons.enums.ExamType;
|
|
import cn.com.qmth.examcloud.commons.exception.StatusException;
|
|
import cn.com.qmth.examcloud.commons.exception.StatusException;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.request.CalcExamScoreReq;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.request.CalcExamScoreReq;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.request.CalcFaceBiopsyResultReq;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.request.CalcFaceBiopsyResultReq;
|
|
|
|
+import cn.com.qmth.examcloud.core.oe.student.api.request.CheckPaperInExamReq;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.request.GetExamRecordDataIdsReq;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.request.GetExamRecordDataIdsReq;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.request.UpdateExamRecordDataBatchNumReq;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.request.UpdateExamRecordDataBatchNumReq;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.request.UpdateExamRecordStatusReq;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.request.UpdateExamRecordStatusReq;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.request.UpdatePartialExamRecordReq;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.request.UpdatePartialExamRecordReq;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.response.CalcExamScoreResp;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.response.CalcExamScoreResp;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.response.CalcFaceBiopsyResultResp;
|
|
import cn.com.qmth.examcloud.core.oe.student.api.response.CalcFaceBiopsyResultResp;
|
|
|
|
+import cn.com.qmth.examcloud.core.oe.student.api.response.CheckPaperInExamResp;
|
|
import cn.com.qmth.examcloud.core.oe.student.base.utils.QuestionTypeUtil;
|
|
import cn.com.qmth.examcloud.core.oe.student.base.utils.QuestionTypeUtil;
|
|
import cn.com.qmth.examcloud.core.oe.student.dao.ExamFaceLivenessVerifyRepo;
|
|
import cn.com.qmth.examcloud.core.oe.student.dao.ExamFaceLivenessVerifyRepo;
|
|
import cn.com.qmth.examcloud.core.oe.student.dao.ExamRecordDataRepo;
|
|
import cn.com.qmth.examcloud.core.oe.student.dao.ExamRecordDataRepo;
|
|
@@ -427,4 +429,16 @@ public class ExamRecordDataServiceImpl implements ExamRecordDataService {
|
|
}
|
|
}
|
|
examRecordDataRepo.updateExamRecordStatusById(status, id);
|
|
examRecordDataRepo.updateExamRecordStatusById(status, id);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public CheckPaperInExamResp checkPaperInExam(CheckPaperInExamReq req) {
|
|
|
|
+ Long id=examRecordDataRepo.getRecordIdByPaperId(req.getBasePaperId());
|
|
|
|
+ CheckPaperInExamResp res=new CheckPaperInExamResp();
|
|
|
|
+ if(id==null) {
|
|
|
|
+ res.setInExam(false);
|
|
|
|
+ }else {
|
|
|
|
+ res.setInExam(true);
|
|
|
|
+ }
|
|
|
|
+ return res;
|
|
|
|
+ }
|
|
}
|
|
}
|