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)){