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