Ver a proveniência

流程引擎-listhandler

4.0
郑根木 há 2 anos
ascendente
cometimento
4bbc6e4f18
2 ficheiros alterados com 3 adições e 1 eliminações
  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 Ver ficheiro

@@ -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 Ver ficheiro

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

Carregando…
Cancelar
Guardar