From 3e6fa2821c1ce48b69841ee5c381a11a9f0760a0 Mon Sep 17 00:00:00 2001 From: xueqingkun Date: Thu, 1 Aug 2024 14:38:13 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/supervision/police/dto/AtomicIndexDTO.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/supervision/police/dto/AtomicIndexDTO.java b/src/main/java/com/supervision/police/dto/AtomicIndexDTO.java index 8e323d6..8ed16dc 100644 --- a/src/main/java/com/supervision/police/dto/AtomicIndexDTO.java +++ b/src/main/java/com/supervision/police/dto/AtomicIndexDTO.java @@ -39,6 +39,7 @@ public class AtomicIndexDTO { JudgeResultEnum instance = JudgeResultEnum.getInstance(this.atomicResult); if (Objects.isNull(instance)){ this.indexResult = "false"; + return; } this.indexResult = instance.flagIsTrue() ? "true" : "false"; }