瀏覽代碼

流程引擎-listhandler

4.0
郑根木 2 年之前
父節點
當前提交
4bbc6e4f18
共有 2 個檔案被更改,包括 3 行新增1 行删除
  1. +1
    -0
      smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/design/db/ModelCatalogTreeHandler.java
  2. +2
    -1
      smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/ModelForm.java

+ 1
- 0
smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/design/db/ModelCatalogTreeHandler.java 查看文件

@@ -50,6 +50,7 @@ public class ModelCatalogTreeHandler extends AbstractTreeHandler<DefaultEntity>
exc_empty = params.readBool("exc_empty");
exc_depend = params.readBool("exc_depend");
only_bill = params.readBool("only_bill");
if (only_bill) exc_empty = true;
mcTreeHelper = (ModelCatalogTreeHelper) TreeHelper.getTreeHelper(ModelCatalog.ENTITY_NAME);
}



+ 2
- 1
smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/ModelForm.java 查看文件

@@ -230,6 +230,7 @@ public class ModelForm extends DefaultEntity {

//返回单据类型id
public long getBillType() {
return getOpts().readLong(ModelFormHelper.KEY_BILL_TYPE);
SwMap opts = getOpts();
return opts != null ? opts.readLong(ModelFormHelper.KEY_BILL_TYPE) : 0L;
}
}

Loading…
取消
儲存