From d9d14128554f67bca29cad9250cd7a2acb90da41 Mon Sep 17 00:00:00 2001 From: liyawei Date: Tue, 5 Jul 2022 15:54:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A4=E8=AF=81-=E5=8F=82=E6=95=B0=E9=A1=B9-?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E6=8F=90=E7=A4=BA=E8=AF=ADbug55489?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../template/service/impl/ParamsInfoEOServiceImpl.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/service/impl/ParamsInfoEOServiceImpl.java b/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/service/impl/ParamsInfoEOServiceImpl.java index e4a311b2e..7a690c725 100644 --- a/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/service/impl/ParamsInfoEOServiceImpl.java +++ b/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/service/impl/ParamsInfoEOServiceImpl.java @@ -1409,7 +1409,9 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl!ccDtoAfterDistinct.contains(e)).map(CertCategoryParamsInfoCnImport::getNioNumber).collect(Collectors.joining(",")); + .filter(e->!ccDtoAfterDistinct.contains(e)) + .map(CertCategoryParamsInfoCnImport::getNioNumber).distinct() + .collect(Collectors.joining(",")); if (StringUtils.isNotBlank(reduceOne)) { if (CutEnum.CN.getValue().equals(cut)) { stringMessage.add("导入数据中NIO编号:" + reduceOne + "下存在重复认证类别;"); @@ -1428,7 +1430,9 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl!ccDtoAfterDistinctTwo.contains(e)).map(CertCategoryParamsInfoCnImport::getNioNumber).collect(Collectors.joining(",")); + .filter(e->!ccDtoAfterDistinctTwo.contains(e)) + .map(CertCategoryParamsInfoCnImport::getNioNumber).distinct() + .collect(Collectors.joining(",")); if (StringUtils.isNotBlank(reduceTwo)) { if (CutEnum.CN.getValue().equals(cut)) { stringMessage.add("导入数据中NIO编号:" + reduceTwo + "下存在重复认证编号;");