xiatian 5 жил өмнө
parent
commit
c5df5f2792

+ 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()) {
+            if (examRecordDataEntity.getIsIllegality()!=null&&!examRecordDataEntity.getIsIllegality()) {
                 if (examRecordDataEntity.getIsWarn() && !examRecordDataEntity.getIsAudit()) {
                     objectiveScoreInfo.setIsAuditing(true);
                 } else if (!examRecordDataEntity.getIsWarn() || (examRecordDataEntity.getIsWarn() && examRecordDataEntity.getIsAudit())) {