Browse Source

增加:LC_SINGLE模型engine

4.0
郑根木 2 years ago
parent
commit
027bd3c9f6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/ModelFormHelper.java

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

@@ -211,7 +211,7 @@ public class ModelFormHelper {
public static String buildReqModel(ModelForm form) { public static String buildReqModel(ModelForm form) {
PageDatasets datasets = form.getDatasets(); PageDatasets datasets = form.getDatasets();
PageModel pageInfo = parsePageInfo(form.getContent()); PageModel pageInfo = parsePageInfo(form.getContent());
if (pageInfo == null) return "";
if (pageInfo == null || pageInfo.model == null) return "";
for (Map<String, Object> model : pageInfo.model) { for (Map<String, Object> model : pageInfo.model) {
String db = (String) model.get("dataset"); String db = (String) model.get("dataset");
//没有配置db,配置有误,不处理 //没有配置db,配置有误,不处理


Loading…
Cancel
Save