从对象list中获取对象属性list

List<B2bUserVO> userVOList = userCenterFacade.getAllUserListByParentId(clientContactsAddForm.getMainUserId());
            List<String> userIdList = userVOList.stream().map(e->e.getId()).collect(Collectors.toList());

  

posted @ 2018-04-20 10:50  wanhua.wu  阅读(1208)  评论(0编辑  收藏  举报