From b65498e2e5ce0554dc2ccf2d7e91cd7f72e09227 Mon Sep 17 00:00:00 2001 From: sjh Date: Mon, 28 Oct 2024 14:34:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=A1=E5=9E=8B4=EF=BC=9A?= =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../biutag/supervision/service/ModelClueService.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/java/com/biutag/supervision/service/ModelClueService.java b/src/main/java/com/biutag/supervision/service/ModelClueService.java index 86c42c7..30b8722 100644 --- a/src/main/java/com/biutag/supervision/service/ModelClueService.java +++ b/src/main/java/com/biutag/supervision/service/ModelClueService.java @@ -320,6 +320,7 @@ public class ModelClueService extends ServiceImpl { + "%),疑似漏登执法办案场所。"); } else { Iterator iterator1 = zfqymModelClues3.iterator(); + boolean found = false; while (iterator1.hasNext()) { ModelClue zfqymModelClue = iterator1.next(); if (jjdModelClue.getInvolveDepartId().equals(zfqymModelClue.getInvolveDepartId())) { @@ -336,9 +337,19 @@ public class ModelClueService extends ServiceImpl { + ",低于全市平均值(" + avgPercentage + "%),疑似漏登执法办案场所。"); iterator1.remove(); + found = true; break; } } + if (!found) { + jjdModelClue.setStatus(0); + jjdModelClue.setThingDesc("在" + params.get(0) + "到" + params.get(1) + "之间," + jjdModelClue.getInvolveDepartName() + + "的总警情数为" + jjdModelClue.getZjjs() + + ",执法场所登记数为0" + + ",每100起警情执法场所登记比例为0%" + + ",低于全市平均值(" + avgPercentage + + "%),疑似漏登执法办案场所。"); + } } } modelClues.addAll(jjdModelClues3);