Commit 30cb8f31 authored by shiyu's avatar shiyu

标签下的商品

parent 0959601a
......@@ -246,7 +246,7 @@ public class CollectionItemsRelationServiceImpl implements CollectionItemsRelati
List<AuctionConfig> auctionConfigList = pageInfo.getList();
Map<Long, AuctionConfig> map = auctionConfigList.stream().collect(Collectors.toMap(AuctionConfig::getItemId, Function.identity() , (k1, k2) ->k2));
supplierItemVo.setRealEndTime(map.get(supplierItem.getId()).getRealEndTime());
AuctionRecord auctionRecord = auctionRecordDao.findLastedRecord(dto.getItemId());
AuctionRecord auctionRecord = auctionRecordDao.findLastedRecord(supplierItem.getId());
if (auctionRecord != null) {
supplierItemVo.setCurrentPrice(PriceUtil.convertPriceFenToYuan(auctionRecord.getPrice()));
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment