|
@@ -83,7 +83,7 @@ public class DynPageSaveHandler extends AbstractDynPageHandler { |
|
|
for (PageDataset pageDataSet : datasets.list) { |
|
|
for (PageDataset pageDataSet : datasets.list) { |
|
|
//非表单编辑,不管 |
|
|
//非表单编辑,不管 |
|
|
if (!pageDataSet.canEdit || !SwEnum.DatasetType.FORM.value.equals(pageDataSet.type)) continue; |
|
|
if (!pageDataSet.canEdit || !SwEnum.DatasetType.FORM.value.equals(pageDataSet.type)) continue; |
|
|
SwMap dsData = (SwMap) data.get(pageDataSet.name); |
|
|
|
|
|
|
|
|
SwMap dsData = data.readMap(pageDataSet.name); |
|
|
if (dsData == null) continue; |
|
|
if (dsData == null) continue; |
|
|
|
|
|
|
|
|
//读取待保存的bean |
|
|
//读取待保存的bean |
|
@@ -151,7 +151,7 @@ public class DynPageSaveHandler extends AbstractDynPageHandler { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
//暂时不考虑list保存的情况 |
|
|
//暂时不考虑list保存的情况 |
|
|
data = (SwMap) data.get("form"); |
|
|
|
|
|
|
|
|
data = data.readMap("form"); |
|
|
bean.getData().putAll(data); |
|
|
bean.getData().putAll(data); |
|
|
return bean; |
|
|
return bean; |
|
|
} |
|
|
} |
|
|