| | |
| | | goodsSkuIdList = goodsSku.stream().map(GoodsSku::getId) |
| | | .collect(Collectors.toSet()); |
| | | } |
| | | |
| | | if (StringUtils.isNotEmpty(auctionGoodsListDTO.getSalesroomName())) { |
| | | List<GoodsSku> goodsSku = goodsSkuClient.getGoodsByName(auctionGoodsListDTO.getSalesroomName(), |
| | | SecurityConstants.INNER) |
| | | .getData(); |
| | | goodsSkuIdList = goodsSku.stream().map(GoodsSku::getId) |
| | | .collect(Collectors.toSet()); |
| | | } |
| | | |
| | | AuctionGoodsListPageDTO auctionGoodsListPageDTO=new AuctionGoodsListPageDTO(); |
| | | auctionGoodsListPageDTO.setGoodsSkuIdList(goodsSkuIdList); |
| | | |
| | |
| | | LambdaQueryWrapper<AuctionBidRecord> wrapper5= Wrappers.lambdaQuery(); |
| | | wrapper5.eq(AuctionBidRecord::getAuctionType,1); |
| | | wrapper5.eq(AuctionBidRecord::getTargetId,byId.getId()); |
| | | wrapper5.eq(AuctionBidRecord::getMemberId,auctionGoodsListDTO.getMemberId()); |
| | | wrapper5.eq(AuctionBidRecord::getDelFlag,0); |
| | | AuctionBidRecord list5 = auctionBidRecordService.getOne(wrapper5); |
| | | if (list5!=null){ |
| | | auctionGoodsinfoVO.setZgBid(list5.getLastBidAmount()); |
| | | wrapper5.orderByDesc(AuctionBidRecord::getLastBidAmount); |
| | | List<AuctionBidRecord> list2 = auctionBidRecordService.list(wrapper5); |
| | | if (list2.size()>0){ |
| | | auctionGoodsinfoVO.setZgBid(list2.get(0).getLastBidAmount()); |
| | | } |
| | | |
| | | |