Browse Source

修改js_event模板

master
FLYPHT 2 years ago
parent
commit
de010992c1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/dynPage/DynPageSaveHandler.java

+ 1
- 1
smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/dynPage/DynPageSaveHandler.java View File

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


Loading…
Cancel
Save