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

在线做ppt模板下载网站电商的运营模式有几种

在线做ppt模板下载网站,电商的运营模式有几种,武汉网站开发公司有哪些,做的网站怎么查看点击率接口想要提高查询速度&#xff0c;需要减少查询数据库的次数&#xff0c;需要把循环里面的查询提出来一次性查询完毕&#xff0c;然后通过java代码来获取响应的值。如下所示&#xff1a; List<OrderInfoHtVO> orderInfoList orderInfoService.getOrderInfoHtlist(query…

接口想要提高查询速度,需要减少查询数据库的次数,需要把循环里面的查询提出来一次性查询完毕,然后通过java代码来获取响应的值。如下所示:

List<OrderInfoHtVO> orderInfoList = orderInfoService.getOrderInfoHtlist(query);if(CollectionUtils.isNotEmpty(orderInfoList)){List<Integer> orderIdList = orderInfoList.stream().map(OrderInfoHtVO::getOrderId)
.collect(Collectors.toList());List<String> orderNoList = orderInfoList.stream().map(OrderInfoHtVO::getOrderNumber)
.collect(Collectors.toList());List<InvoiceStatusVO> invoiceStatusVOList = applayInvoiceInfoService.
getInvoiceStatusByOrderList(orderIdList,orderNoList,orderInfoList);Map<Integer,List<InvoiceStatusVO>> invoiceStatusVOMap = invoiceStatusVOList.stream().
collect(Collectors.groupingBy(InvoiceStatusVO::getOrderId));List<ApplayInvoiceHongChongCountVO> applayInvoiceHongChongCountVOList = applayInvoiceInfoService
.searchApplayInvoiceHongChongCountListByOrderNoList(orderNoList);Map<String,List<ApplayInvoiceHongChongCountVO>> applayInvoiceHongChongCountVOMap = applayInvoiceHongChongCountVOList.stream()
.collect(Collectors.groupingBy(ApplayInvoiceHongChongCountVO::getOrderNo));List<PackageGoodsCountVO> packageGoodsCountVOList = orderInfoService
.searchPackageGoodsCountListByOrderIdList(orderIdList);Map<Integer,List<PackageGoodsCountVO>> packageGoodsCountVOMap = packageGoodsCountVOList.stream()
.collect(Collectors.groupingBy(PackageGoodsCountVO::getOrderId));for (OrderInfoHtVO orderInfoHtVO : orderInfoList) {if(CollectionUtils.isNotEmpty(invoiceStatusVOMap.get(orderInfoHtVO.getOrderId()))){orderInfoHtVO.setInvoiceStatus(invoiceStatusVOMap.get(orderInfoHtVO.getOrderId()).get(0).getInvoiceStatus());
}else{orderInfoHtVO.setInvoiceStatus(0);
}if(CollectionUtils.isNotEmpty(applayInvoiceHongChongCountVOMap.get(orderInfoHtVO.getOrderNumber()))){orderInfoHtVO.setIsHongChong(applayInvoiceHongChongCountVOMap.get(orderInfoHtVO.getOrderNumber()).get(0).getIsHongChong());
}else{orderInfoHtVO.setIsHongChong(0);
}if(CollectionUtils.isNotEmpty(packageGoodsCountVOMap.get(orderInfoHtVO.getOrderId()))){orderInfoHtVO.setIsPackage(packageGoodsCountVOMap.get(orderInfoHtVO.getOrderId()).get(0).getIsPackage());
}else{orderInfoHtVO.setIsPackage(0);
}}}
http://www.qdjiajiao.com/news/10544.html

相关文章:

  • 龙岗附近公司做网站建设多少钱今日油价92汽油价格
  • 网站怎么做抽奖seo引擎优化教程
  • 如何备份网站百度快快速排名
  • 手机电影网站怎样做电脑优化
  • 优秀的vi设计案例seo兼职论坛
  • 网站建设预招标永久免费低代码开发平台
  • 网站开发什么宁波seo费用
  • java网站开发源码百度助手下载
  • 长春免费建站模板网络营销推广策划书
  • 虚拟机怎么做网站空间泉州全网营销
  • 电子商务与网站建设搜索引擎成功案例分析
  • wordpress主题idowns下载aso优化师工作很赚钱吗
  • 怎样经营好一个网站今日足球赛事数据
  • 博物馆门户网站建设方案百度营销登录平台
  • 百合视频做爰视频网站网络推广外包
  • 怎么找网站开发公司小程序运营推广公司
  • ui设计经典案例搜索引擎优化案例
  • h5手机网站建设成都seo培训
  • 杭州 网站外包卖链接的网站
  • 做类似淘宝一样的网站有哪些提升网页优化排名
  • web网站百度不收录吗企业如何做网站
  • 海南省旅游专业网站发展电子商务缺乏强大的专业产业资源做后盾杭州seo网络推广
  • 搜索网站做淘宝客无锡谷歌推广
  • 潮州 网站建设谷歌香港google搜索引擎入口
  • 免费教育网站建设互联网营销策略有哪些
  • 百度做一个网站多少钱网站首页模板
  • 做淘宝店铺标志的网站百度竞价推广怎么收费
  • 上海什么做网站的公司比较好什么叫网络市场营销
  • 基于jsp的网站开发开题报告百度点击优化
  • 企业网站网络推广怎么做小红书kol推广