Browse Source

页面引擎

master
郑根木 2 years ago
parent
commit
1f7967cb34
2 changed files with 5 additions and 1 deletions
  1. +1
    -0
      smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/ModelFormHelper.java
  2. +4
    -1
      smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/engine/dynPage/DynPageHelper.java

+ 1
- 0
smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/ModelFormHelper.java View File

@@ -244,6 +244,7 @@ public class ModelFormHelper {
private static SwMap buildEngineModelMap(PageDataset dataSet, Map<String, Object> model) {
SwMap ret = new SwMap();

ret.put("id", dataSet.id);
ret.put("name", dataSet.name);
ret.put("label", dataSet.label);
ret.put("type", dataSet.type);


+ 4
- 1
smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/engine/dynPage/DynPageHelper.java View File

@@ -171,7 +171,10 @@ public class DynPageHelper {
sql.append(s);
b = true;
}
return "(" + sql.toString() + ")";
if (sql.length() > 0) {
return "(" + sql.toString() + ")";
}
return "";
}

boolean isNameSelf = setFixedFilter.contains(dynCond.param);


Loading…
Cancel
Save