|
|
@@ -52,7 +52,7 @@ public class DynPageSaveHandler extends AbstractDynPageHandler { |
|
|
|
PageDataset pageDataSet = findDataset(dbName); |
|
|
|
if (pageDataSet == null) throw new BizException("没有找到指定的的数据集定义:" + dbName + "!"); |
|
|
|
//读取待保存的bean |
|
|
|
DefaultEntity bean = readBeanFromPage(pageDataSet, data); |
|
|
|
DefaultEntity bean = readBeanFromPage(pageDataSet, data.readMap("form")); |
|
|
|
if (filter != null && bean.isNew()) {//有过滤条件,将关联的值设上 |
|
|
|
setLinkValue(pageDataSet, bean, f -> filter.get(f.name)); |
|
|
|
} |
|
|
|