浏览代码

离线开考赋默认值

xiatian 5 年之前
父节点
当前提交
c13993381b

+ 3 - 0
examcloud-core-oe-admin-service/src/main/java/cn/com/qmth/examcloud/core/oe/admin/service/impl/ExamRecordDataServiceImpl.java

@@ -56,6 +56,9 @@ public class ExamRecordDataServiceImpl implements ExamRecordDataService {
         examRecordDataEntity.setExamRecordStatus(ExamRecordStatus.EXAM_ING);
         examRecordDataEntity.setExamOrder(1);
         examRecordDataEntity.setIsAllObjectivePaper(fullyObjective);
+        examRecordDataEntity.setIsWarn(false);
+        examRecordDataEntity.setIsAudit(false);
+        examRecordDataEntity.setIsIllegality(false);
         return examRecordDataRepo.save(examRecordDataEntity);
     }