当前位置: 首页 > news >正文

临朐网站建设哪家好惠州seo按天付费

临朐网站建设哪家好,惠州seo按天付费,郑州中原影视城,优质网站建设报价一、使用场景 1、当需要对一个list中的元素属性进行重新赋值,比如一个list中存储了订单数据,我们需要改变list中每个订单的id,然后再重新输出订单list if(CollectionUtils.isNotEmpty(orderList)){ orderList.forEach(p->{ …

一、使用场景

1、当需要对一个list中的元素属性进行重新赋值,比如一个list中存储了订单数据,我们需要改变list中每个订单的id,然后再重新输出订单list

      if(CollectionUtils.isNotEmpty(orderList)){
            orderList.forEach(p->{
                PointsExchangeOrderItem item = new PointsExchangeOrderItem();
                item.setOrderId(p.getId());
                List<PointsExchangeOrderItem> itemList = item.select();
                if (CollectionUtils.isNotEmpty(itemList)){
                    List<String> collects = itemList.stream().map(PointsExchangeOrderItem::getExchangeId).collect(Collectors.toList());
                    String exchangeIdStr = String.join(",", collects);
                    p.setExchangeInPointsId(exchangeIdStr);
                    p.setExchangeOutPointsId(exchangeIdStr);

                }


            });
        }

        return orderList;

      if(CollectionUtils.isNotEmpty(orderList)){orderList.forEach(p->{PointsExchangeOrderItem item = new PointsExchangeOrderItem();item.setOrderId(p.getId());List<PointsExchangeOrderItem> itemList = item.select();if (CollectionUtils.isNotEmpty(itemList)){List<String> collects = itemList.stream().map(PointsExchangeOrderItem::getExchangeId).collect(Collectors.toList());String exchangeIdStr = String.join(",", collects);p.setExchangeInPointsId(exchangeIdStr);p.setExchangeOutPointsId(exchangeIdStr);}});}return orderList;

http://www.zhongyajixie.com/news/8401.html

相关文章:

  • 界面设计论文seo算法入门教程
  • 高性能网站建设进阶指南站长之家备案查询
  • 网站项目上线流程山东网页定制
  • 做印刷网站公司哪家好鸿星尔克网络营销
  • 给网站做seo的必要性珠海百度关键词优化
  • wordpress分类栏目seo搜索引擎优化课程
  • 济南怎样做网站推广广东seo价格是多少钱
  • 住房和城乡建设部网站施工员自贡网站seo
  • 陕西省建设厅执业资格注册中心网站报名网络快速排名优化方法
  • 网站建设一般好久到期企业培训课程分类
  • 数字化展厅设计方案独立站seo是什么
  • 网站建设时间计划书seo软文推广
  • 那家b2c网站建设报价怎么做小说推广挣钱
  • 查询个人信息最全的网站如何优化关键词搜索排名
  • 做k12网站免费个人网站制作
  • 徐州网站制作建设上海网站seo快速排名
  • 建设网站用什么语言关键词优化是什么意思
  • 衡量一个网站的指标免费网站站长查询
  • 大学生可以做的网站免费网络推广平台
  • 重庆市建设工程信息网官网造价东莞seo广告宣传
  • 诸城网站建设报价怎么免费给自己建网站
  • 网站后台开发 必备技能专业网络推广软件
  • 专利减缓在哪个网站上做合肥网站优化技术
  • 深圳建企业网站榆林市网站seo
  • 深圳燃气公司客服seo报价单
  • 建设工程交易网站代写新闻稿
  • 哪里网站用vue.js做的网站结构优化的内容和方法
  • 丹凤县人民政府门户网站建设广州专业seo公司
  • 富阳网站建设怎样雷神代刷推广网站
  • wordpress改网址导航seo顾问服