From 3a3516e854ab8037b8e22e72d66b0f14d5b884fb Mon Sep 17 00:00:00 2001 From: zhn <947514737@qq.com> Date: Wed, 30 Mar 2022 19:25:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=BA=93--=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A1=86(=E9=93=BE=E6=8E=A5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/BussDocumentLibraryEOServiceImpl.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java index 511a21724..3886e44b5 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java @@ -405,6 +405,9 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl> list = new ArrayList<>(); for (OnlCgformField onlCgformField : fieldList) { Map map = new HashMap<>(); + if(FieldTypeEnum.TEXT_LINK.getValue().equals(onlCgformField.getFieldShowType())){ + map.put("urlClick","true"); + } //字段 String dbFieldName = onlCgformField.getDbFieldName(); if ("serial_number".equals(dbFieldName) || "title".equals(dbFieldName)) { @@ -845,11 +848,6 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl treeFieldList = fieldList.stream() .filter(e -> FieldTypeEnum.TREE.getValue().equals(e.getFieldShowType())) .collect(Collectors.toList()); - //过滤出输入框链接 - List OnlCgformFieldLinkList = fieldList.stream() - .filter(e -> FieldTypeEnum.TREE.getValue().equals(e.getFieldShowType())) - .collect(Collectors.toList()); - List linkList = OnlCgformFieldLinkList.stream().map(OnlCgformField::getDbFieldName).collect(Collectors.toList()); //下拉选字段 List fieldPullList = onlCgformFieldList.stream().map(OnlCgformField::getDbFieldName).collect(Collectors.toList()); @@ -997,6 +995,9 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl sysCategoryTreeVOS) { + if(FieldTypeEnum.TEXT_LINK.getValue().equals(fieldShowType2)){ + map.put("urlClick", "true"); + } map.put(field_show_type, fieldShowType2);//类型(判断是下拉还是输入框,等等) map.put(dict_field, dictField); map.put(db_field_name, dbFieldName2);//字段