diff --git a/code/zcdev/zcgj-zcdev-zcdev-fs/src/main/java/zcgj/zcdev/zcdev/fs/plugin/form/AccountFilterPlugin.java b/code/zcdev/zcgj-zcdev-zcdev-fs/src/main/java/zcgj/zcdev/zcdev/fs/plugin/form/AccountFilterPlugin.java index 557ea87..665f170 100644 --- a/code/zcdev/zcgj-zcdev-zcdev-fs/src/main/java/zcgj/zcdev/zcdev/fs/plugin/form/AccountFilterPlugin.java +++ b/code/zcdev/zcgj-zcdev-zcdev-fs/src/main/java/zcgj/zcdev/zcdev/fs/plugin/form/AccountFilterPlugin.java @@ -46,9 +46,7 @@ public class AccountFilterPlugin extends AbstractBillPlugIn implements Plugin, //会计科目根据左树根据科目表编码过滤 String zcgjAccounttableNumber = (String)this.getModel().getValue("zcgj_accounttable_number"); QFilter accountTableFilter = new QFilter("number", QCP.equals,zcgjAccounttableNumber); - QFilter isLeafFilter = new QFilter("isleaf", "=", true); - QFilter enablefFilter = new QFilter("enable", "=", "1"); - DynamicObject accountTableFilterObj = BusinessDataServiceHelper.loadSingle("bd_accounttable", "id,number", new QFilter[]{accountTableFilter,isLeafFilter,enablefFilter}); + DynamicObject accountTableFilterObj = BusinessDataServiceHelper.loadSingle("bd_accounttable", "id,number", new QFilter[]{accountTableFilter}); if(accountTableFilterObj!=null){ long id = accountTableFilterObj.getLong("id"); ListShowParameter param = (ListShowParameter) arg0.getFormShowParameter();