//数据源中的数据
List<Map<String, Object>> list = dbActService.getPage(mapSet, app, mapItemList, null, null, null, null, null);
// for (int i = 0; i < list.size(); i++) {
// log.info("{}={}",i,list.get(i));
// }

//数据集中的数据
List<Map<String, Object>> metaList = dbService.select(metaSet.getTableName(), null, null);
// for (int i = 0; i < metaList.size(); i++) {
// log.info("{}={}",i,metaList.get(i));
// }

//差集,即 数据集中不包含数据源中的数据
List<Map<String, Object>> collect = list.stream().filter(f ->
!metaList.stream().map(m -> m.get("id")).collect(Collectors.toList()).contains(f.get("id"))
).collect(Collectors.toList());

for (int i = 0; i < collect.size(); i++) {
log.info("{}={}",i,collect.get(i));
}