Pārlūkot izejas kodu

修改js_event模板

master
FLYPHT pirms 2 gadiem
vecāks
revīzija
de010992c1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 Parādīt failu

@@ -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));
}


Notiek ielāde…
Atcelt
Saglabāt