1.list集合中取出某一属性的方法
List<ResourceDemandResponse> list = resourceDemandResponseDao.getList(helper);
List<String> resourcesKnowledgeIdList = list.stream().map(ResourceDemandResponse::getId).collect(Collectors.toList());
1.list集合中取出某一属性的方法
List<ResourceDemandResponse> list = resourceDemandResponseDao.getList(helper);
List<String> resourcesKnowledgeIdList = list.stream().map(ResourceDemandResponse::getId).collect(Collectors.toList());