1.功能开发
This commit is contained in:
parent
3bd576df24
commit
16696064e7
|
@ -46,9 +46,7 @@ public class AccountFilterPlugin extends AbstractBillPlugIn implements Plugin,
|
||||||
//会计科目根据左树根据科目表编码过滤
|
//会计科目根据左树根据科目表编码过滤
|
||||||
String zcgjAccounttableNumber = (String)this.getModel().getValue("zcgj_accounttable_number");
|
String zcgjAccounttableNumber = (String)this.getModel().getValue("zcgj_accounttable_number");
|
||||||
QFilter accountTableFilter = new QFilter("number", QCP.equals,zcgjAccounttableNumber);
|
QFilter accountTableFilter = new QFilter("number", QCP.equals,zcgjAccounttableNumber);
|
||||||
QFilter isLeafFilter = new QFilter("isleaf", "=", true);
|
DynamicObject accountTableFilterObj = BusinessDataServiceHelper.loadSingle("bd_accounttable", "id,number", new QFilter[]{accountTableFilter});
|
||||||
QFilter enablefFilter = new QFilter("enable", "=", "1");
|
|
||||||
DynamicObject accountTableFilterObj = BusinessDataServiceHelper.loadSingle("bd_accounttable", "id,number", new QFilter[]{accountTableFilter,isLeafFilter,enablefFilter});
|
|
||||||
if(accountTableFilterObj!=null){
|
if(accountTableFilterObj!=null){
|
||||||
long id = accountTableFilterObj.getLong("id");
|
long id = accountTableFilterObj.getLong("id");
|
||||||
ListShowParameter param = (ListShowParameter) arg0.getFormShowParameter();
|
ListShowParameter param = (ListShowParameter) arg0.getFormShowParameter();
|
||||||
|
|
Loading…
Reference in New Issue