From 16696064e7d04d750b4a657cffbb0770ff731440 Mon Sep 17 00:00:00 2001 From: zhangzhiguo Date: Thu, 16 Jan 2025 16:41:24 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=8A=9F=E8=83=BD=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zcgj/zcdev/zcdev/fs/plugin/form/AccountFilterPlugin.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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();