1 . 集合List<T> 去单个元素,返回集合
List<Tbhr01> tbhr01List = new ArrayList<Tbhr01>(); List<String> hkIds = tbhr01List.stream().map(Tbhr01::getHkId).collect(Collectors.toList());