| | |
| | | .select(AuctionGoods::getId, AuctionGoods::getGoodsSkuId, |
| | | AuctionGoods::getListingStatus, AuctionGoods::getStartStatus, |
| | | AuctionGoods::getStartTime, AuctionGoods::getEndTime, |
| | | AuctionGoods::getAuctionStock, AuctionGoods::getMinimumMarkupAmount).in( |
| | | AuctionGoods::getAuctionStock, AuctionGoods::getMinimumMarkupAmount, |
| | | AuctionGoods::getAuthentication, AuctionGoods::getStartingPrice).in( |
| | | StringUtils.isNotEmpty(goodsSkuIdList), AuctionGoods::getGoodsSkuId, |
| | | goodsSkuIdList).eq(StringUtils.isNotNull(query.getAuthentication()), |
| | | AuctionGoods::getAuthentication, query.getAuthentication()) |
| | |
| | | } |
| | | MgtAuctionGoodsVO auctionGoodsVO = BeanUtils.copyBean(auctionGoods, |
| | | MgtAuctionGoodsVO.class); |
| | | // 远程调用商品服务,获取商品信息 |
| | | GoodsSku goodsSku = goodsSkuClient.getGoodsSkuOne(auctionGoods.getGoodsSkuId(), |
| | | SecurityConstants.INNER).getData(); |
| | | if (StringUtils.isNotNull(goodsSku)) { |
| | | auctionGoodsVO.setGoodsSkuName(goodsSku.getSkuName()); |
| | | } |
| | | if (!auctionGoods.getStartStatus().equals(AuctionStartStatusEnum.IN_PREVIEW)) { |
| | | List<AuctionBidRecord> list = auctionBidRecordService.lambdaQuery() |
| | | .eq(AuctionBidRecord::getTargetId, auctionGoodsVO.getId()) |