Bläddra i källkod

页面引擎

master
郑根木 2 år sedan
förälder
incheckning
1f7967cb34
2 ändrade filer med 5 tillägg och 1 borttagningar
  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 Visa fil

@@ -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 Visa fil

@@ -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);


Laddar…
Avbryt
Spara