Sfoglia il codice sorgente

给是否审核添加默认值

lideyin 5 anni fa
parent
commit
decee27bc0

+ 1 - 1
examcloud-core-oe-task-service/src/main/java/cn/com/qmth/examcloud/core/oe/task/service/pipeline/SyncExamDataExecutor.java

@@ -370,7 +370,7 @@ public class SyncExamDataExecutor implements NodeExecuter<Long, ExamRecordData,
         data.setEndTime(examRecordData.getEndTime());
         data.setCleanTime(examRecordData.getCleanTime());
         data.setWarn(examRecordData.getIsWarn() == null ? false : examRecordData.getIsWarn());
-        data.setAudit(examRecordData.getIsAudit());
+        data.setAudit(examRecordData.getIsAudit() == null ? false : examRecordData.getIsAudit());
         data.setIllegality(examRecordData.getIsIllegality() == null ? false : examRecordData.getIsIllegality());
         data.setUsedExamTime(examRecordData.getUsedExamTime());
         data.setContinued(examRecordData.getIsContinued() == null ? false : examRecordData.getIsContinued());