From 79d835eeab84b3f61669d1eb32c7b5f9d5339e9d Mon Sep 17 00:00:00 2001 From: yaxin Date: Tue, 24 Dec 2024 14:23:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E7=85=A7=E6=9C=80=E6=96=B0=E8=A6=81?= =?UTF-8?q?=E6=B1=82=EF=BC=8C=E5=89=8D=E7=AB=AF=E6=98=BE=E7=A4=BA=E7=94=B1?= =?UTF-8?q?=E2=80=9C=E7=AC=A6=E5=90=88/=E4=B8=8D=E7=AC=A6=E5=90=88?= =?UTF-8?q?=E2=80=9D=E6=94=B9=E4=B8=BA=E2=80=9C=E5=AD=98=E5=9C=A8/?= =?UTF-8?q?=E4=B8=8D=E5=AD=98=E5=9C=A8=E2=80=9D=EF=BC=8C=E6=95=85=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E5=92=8CjudgeLogic=E7=9A=84=E6=AF=94=E8=BE=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/supervision/police/dto/AtomicIndexDTO.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/supervision/police/dto/AtomicIndexDTO.java b/src/main/java/com/supervision/police/dto/AtomicIndexDTO.java index 38943f9..6e35d80 100644 --- a/src/main/java/com/supervision/police/dto/AtomicIndexDTO.java +++ b/src/main/java/com/supervision/police/dto/AtomicIndexDTO.java @@ -66,7 +66,8 @@ public class AtomicIndexDTO { // 2.指标判断不符合,规则要求符合,返回false // 3.指标判断符合,规则要求符合,返回true // 4.指标判断不符合,规则要求不符合,返回true - if (StrUtil.equals(judgeLogic, this.atomicResult)) { + // 按照最新要求,前端显示由“符合/不符合”改为“存在/不存在”,故取消和judgeLogic的比较 + if (StrUtil.equals("3", this.atomicResult)) { this.indexResult = "true"; } else { this.indexResult = "false";