摘要: List<User> userList = new ArrayList<>(); //list集合中获取code集合 List<String> codeList = userList.stream().map(i -> i.getCode()).collect(Collectors.toList() 阅读全文
posted @ 2023-01-07 13:33 了悟 阅读(674) 评论(0) 推荐(0) 编辑