Browse Source

流程引擎-listhandler

4.0
郑根木 2 years ago
parent
commit
4bbc6e4f18
2 changed files with 3 additions and 1 deletions
  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 View File

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




+ 2
- 1
smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/ModelForm.java View File

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


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

Loading…
Cancel
Save