From 9e34ace7f3cdc8fde9624004c1bfe4948086cd13 Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Fri, 7 Jun 2024 15:24:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E9=80=89=E4=B8=8B=E6=8B=89=E5=A4=9A?= =?UTF-8?q?=E9=80=89=E6=95=B0=E6=8D=AE=E6=BA=90=E6=96=B0=E5=A2=9E=E4=BB=BB?= =?UTF-8?q?=E9=80=89=E7=B3=BB=E7=BB=9F=E8=A1=A8=E5=8D=95=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hxgk/lowcode/service/impl/CustomerFormServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/hxgk/lowcode/service/impl/CustomerFormServiceImpl.java b/src/main/java/com/hxgk/lowcode/service/impl/CustomerFormServiceImpl.java index c477e93..a040fcf 100644 --- a/src/main/java/com/hxgk/lowcode/service/impl/CustomerFormServiceImpl.java +++ b/src/main/java/com/hxgk/lowcode/service/impl/CustomerFormServiceImpl.java @@ -275,10 +275,12 @@ public class CustomerFormServiceImpl implements CustomerFormService { ArrayList masterTreeList = new ArrayList<>(); String userKey = key; + String onlyToShowTableId = ""; //上线修改 String url = "http://172.20.2.87:7777/customer_form/gainTableField";//本地+内网 //String url = "http://36.133.126.182:39250/customer_form/gainTableField";//外网 if(cfid.contains("zibiaoid-")){ + onlyToShowTableId = cfid.split("zibiaoid-")[1]; cfid = cfid.split(":")[0];//当选择某个主表的子表时,连主表数据一并返回。 } JSONObject param = new JSONObject(); @@ -314,6 +316,7 @@ public class CustomerFormServiceImpl implements CustomerFormService { HashMap showMap = new HashMap<>(); showMap.put("show",masterTableName.toString().replace("\"","")); + showMap.put("onlyToShowTableId",onlyToShowTableId); tree.setTreeAttrs(showMap); if(!(sunTableArrObj == null)){