摘要: 预设场景: 从Mybatis调用Mapper得到的用户集合 List<UserDTO> userList = new ArrayList<>(); 常用的几种API用法示例: Map方法,转换为某一个字段的集合: List<Integer> userIdList = userList.stream( 阅读全文
posted @ 2023-06-27 22:59 emdzz 阅读(13) 评论(0) 推荐(0) 编辑