From fd16446f7ed4c475b6d0b5b175263d49d1f73f22 Mon Sep 17 00:00:00 2001 From: gaosong Date: Sun, 22 Oct 2023 18:40:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E9=A1=BA=E5=BA=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/ParamsCollectManifestHistoryEOServiceImpl.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/cert/collect/service/impl/ParamsCollectManifestHistoryEOServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/cert/collect/service/impl/ParamsCollectManifestHistoryEOServiceImpl.java index 9972741e6..6c0bb194a 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/cert/collect/service/impl/ParamsCollectManifestHistoryEOServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/cert/collect/service/impl/ParamsCollectManifestHistoryEOServiceImpl.java @@ -1097,7 +1097,14 @@ public class ParamsCollectManifestHistoryEOServiceImpl extends ServiceImpl iterator = paramsConfigDataEOList.iterator(); + while (iterator.hasNext()) { + ParamsConfigDataHistoryEO element = iterator.next(); + if (element.getId().equals(paramsConfigDataEO.getId())) { + iterator.remove(); + break; + } + } } String configData = configDataBuilder.toString();