EAS_指定条件查询集合,查询指定字段获取集合

EntityViewInfo view = new EntityViewInfo();
                FilterInfo filter = new FilterInfo();
                SelectorItemCollection sic = super.getSelectors();
                sic.add(new SelectorItemInfo("*"));
                sic.add(new SelectorItemInfo("adminOrgUnit.*"));
                sic.add(new SelectorItemInfo("payerAccountBank.*"));
                sic.add(new SelectorItemInfo("agentPayCompany.name"));
                sic.add(new SelectorItemInfo("entries.*"));
                sic.add(new SelectorItemInfo("entries.costBgItem.*"));
                sic.add("payBillType.number");

                filter.getFilterItems().add(new FilterItemInfo("id",id,CompareType.EQUALS));
                view.setSelector(sic);
                view.setFilter(filter);    
                PaymentBillCollection payCollection = PaymentBillFactory.getRemoteInstance().getPaymentBillCollection(view);
                

 

posted @ 2023-08-24 11:53  凉了记忆  阅读(60)  评论(0编辑  收藏  举报