如何在列表插件中获取列表中选中行的数据

当我们需要根据列表选中行的分录中的字段做进一步判断处理时,我们可以使用如下语句获取列表中选中行的数据:
BillList billList = this.getView().getControl("billlistap");
ListSelectedRowCollection selectedRows = billList.getSelectedRows();
Set<Long> selectedRowsPrimaryKeyValue = new HashSet<>(8);
for (ListSelectedRow selectRow : selectedRows) {
selectedRowsPrimaryKeyValue.add((Long) selectRow.getPrimaryKeyValue());
}
QFilter filter = new QFilter("id", QCP.in, selectedRowsPrimaryKeyValue);
Map<Object, DynamicO
如何在列表插件中获取列表中选中行的数据
当我们需要根据列表选中行的分录中的字段做进一步判断处理时,我们可以使用如下语句获取列表中选中行的数据: BillList billList = ...
点击下载文档文档为doc格式
声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。如若本站内容侵犯了原著者的合法权益,可联系本站删除。
上一篇
已经是第一篇



