From 061b725fa9e7dd4d22b6ed8e1d1c3f25f06b41e0 Mon Sep 17 00:00:00 2001 From: jianjun Date: Sun, 24 Apr 2022 14:34:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E9=9C=80=E8=A6=81=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E7=9A=84=E9=85=8D=E7=BD=AE=20=E7=94=A8=E4=BA=8E?= =?UTF-8?q?=E7=94=9F=E6=88=90excel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/epmet/service/impl/IcExportTemplateServiceImpl.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/IcExportTemplateServiceImpl.java b/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/IcExportTemplateServiceImpl.java index 9e72beb002..fda8e0fecd 100644 --- a/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/IcExportTemplateServiceImpl.java +++ b/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/IcExportTemplateServiceImpl.java @@ -115,11 +115,9 @@ public class IcExportTemplateServiceImpl extends BaseServiceImpl NumConstant.ZERO) { Set configItemIdSet = list.stream().map(IcExportTemplateForExportResultDTO::getItemId).collect(Collectors.toSet()); - System.out.println("参数的ItemId:" + hasExistColumnSet); - System.out.println("需要显示的itemId:" + configItemIdSet); + Set conditionItemIdSet = new HashSet<>(hasExistColumnSet); conditionItemIdSet.removeAll(configItemIdSet); - System.out.println("额外需要查询的列:" + conditionItemIdSet); conditionItemIdSet.forEach(itemId -> { ConditionResultDTO item = icFormItemDao.getConditionItem(itemId); if (item == null || StringUtils.isBlank(item.getColumnName())) { @@ -143,7 +141,6 @@ public class IcExportTemplateServiceImpl extends BaseServiceImpl