Pārlūkot izejas kodu

工作流

master
郑根木 pirms 2 gadiem
vecāks
revīzija
576d35239d
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/ModelFormHelper.java

+ 2
- 0
smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/ModelFormHelper.java Parādīt failu

@@ -86,6 +86,7 @@ public class ModelFormHelper {
public static String buildSaveModel(ModelForm form) {
Map<String, PageDataSet> mapDataset = parsePageDataset(form.getDataset());
PageModel pageInfo = parsePageInfo(form.getContent());
if (pageInfo == null) return "";
for (Map<String, Object> model : pageInfo.model) {

buildSaveModelFields(mapDataset, pageInfo, model, true);
@@ -168,6 +169,7 @@ public class ModelFormHelper {
public static String buildReqModel(ModelForm form) {
Map<String, PageDataSet> mapDataset = parsePageDataset(form.getDataset());
PageModel pageInfo = parsePageInfo(form.getContent());
if (pageInfo == null) return "";
for (Map<String, Object> model : pageInfo.model) {
String db = (String) model.get("dataset");
//没有配置db,配置有误,不处理


Notiek ielāde…
Atcelt
Saglabāt