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 + "下存在重复认证编号;");