xiatian 5 년 전
부모
커밋
f49532c266

+ 1 - 1
examcloud-core-oe-admin-service/src/main/java/cn/com/qmth/examcloud/core/oe/admin/service/impl/ExamScoreServiceImpl.java

@@ -430,7 +430,7 @@ public class ExamScoreServiceImpl implements ExamScoreService {
                 objectiveScoreInfo.setIsExamEnded(true);
             }
 
-            if (examRecordDataEntity.getIsIllegality()!=null&&!examRecordDataEntity.getIsIllegality()) {
+            if (examRecordDataEntity.getIsIllegality()==null||!examRecordDataEntity.getIsIllegality()) {
                 if (examRecordDataEntity.getIsWarn() && !examRecordDataEntity.getIsAudit()) {
                     objectiveScoreInfo.setIsAuditing(true);
                 } else if (!examRecordDataEntity.getIsWarn() || (examRecordDataEntity.getIsWarn() && examRecordDataEntity.getIsAudit())) {