1. 程式人生 > >EAS BOS 給分錄F7設定過濾條件

EAS BOS 給分錄F7設定過濾條件

KDBizPromptBox adminF7 = (KDBizPromptBox)this.kdtEntry.getColumn("adminOrg").getEditor().getComponent();

EntityViewInfo view = new EntityViewInfo();
FilterInfo filter = new FilterInfo();
filter.getFilterItems().add(new FilterItemInfo("parent.id", reqDept.getId().toString(), CompareType.EQUALS));
view.setFilter(filter);

adminF7.setEntityViewInfo(view);