|
@@ -1,5 +1,6 @@
|
|
|
package cn.com.qmth.examcloud.core.oe.admin.service.impl;
|
|
|
|
|
|
+import cn.com.qmth.examcloud.commons.exception.StatusException;
|
|
|
import cn.com.qmth.examcloud.core.oe.admin.dao.ExamRecordDataRepo;
|
|
|
import cn.com.qmth.examcloud.core.oe.admin.dao.ExamRecordForMarkingRepo;
|
|
|
import cn.com.qmth.examcloud.core.oe.admin.dao.entity.ExamRecordDataEntity;
|
|
@@ -290,11 +291,13 @@ public class ExamRecordForMarkingServiceImpl implements ExamRecordForMarkingServ
|
|
|
* @param examRecordDataId
|
|
|
*/
|
|
|
@Override
|
|
|
- public void saveExamRecordForMarking(Long examRecordDataId,Double objectiveScore) {
|
|
|
+ public void saveExamRecordForMarking(Long examRecordDataId, Double objectiveScore) {
|
|
|
ExamRecordDataEntity examRecordData =
|
|
|
GlobalHelper.getEntity(examRecordDataRepo, examRecordDataId, ExamRecordDataEntity.class);
|
|
|
+
|
|
|
//全客观题卷
|
|
|
- if (null != examRecordData.getIsAllObjectivePaper() && examRecordData.getIsAllObjectivePaper()) {
|
|
|
+ if (null == examRecordData.getIsAllObjectivePaper() ||
|
|
|
+ (null != examRecordData.getIsAllObjectivePaper() && examRecordData.getIsAllObjectivePaper())) {
|
|
|
return;
|
|
|
}
|
|
|
//违纪
|