| | |
| | | auctionGoodsVO.setSkuName(goodsSku.getSkuName()); |
| | | auctionGoodsVO.setSoldQuantity(goodsSku.getSoldQuantity()); |
| | | auctionGoodsVO.setIsCollection(2); |
| | | auctionGoodsVO.setType(auctionCollection.getType()); |
| | | auctionGoodsVOS.add(auctionGoodsVO); |
| | | } if(auctionCollection.getType()==2){ |
| | | HomeGoodsSkuListVO auctionGoodsVO=new HomeGoodsSkuListVO(); |
| | | GoodsSeckill goodsSeckill = goodsSeckillMapper.selectById(auctionCollection.getTargetId()); |
| | | GoodsSku goodsSku = goodsSkuMapper.selectById(goodsSeckill.getGoodsSkuId()); |
| | | auctionGoodsVO.setId(auctionCollection.getTargetId()); |
| | | auctionGoodsVO.setPrice(goodsSku.getPrice()); |
| | | auctionGoodsVO.setPrice( goodsSeckill.getSeckillPrice()); |
| | | auctionGoodsVO.setCoverPic(goodsSku.getCoverPic()); |
| | | auctionGoodsVO.setSkuName(goodsSku.getSkuName()); |
| | | auctionGoodsVO.setSoldQuantity(goodsSku.getSoldQuantity()); |
| | |
| | | auctionGoodsVO.setStartStatus(goodsSeckill.getStartStatus()); |
| | | auctionGoodsVO.setStartTime(goodsSeckill.getStartTime()); |
| | | auctionGoodsVO.setEndTime(goodsSeckill.getEndTime()); |
| | | auctionGoodsVO.setXiaosPrice(goodsSeckill.getSeckillPrice()); |
| | | auctionGoodsVO.setXiaosPrice(goodsSku.getPrice()); |
| | | auctionGoodsVO.setType(auctionCollection.getType()); |
| | | auctionGoodsVOS.add(auctionGoodsVO); |
| | | } if(auctionCollection.getType()==1){ |
| | | } if(auctionCollection.getType()==3){ |
| | | GoodsGroupPurchase goodsGroupPurchase = goodsGroupPurchaseMapper.selectById(auctionCollection.getTargetId()); |
| | | HomeGoodsSkuListVO auctionGoodsVO=new HomeGoodsSkuListVO(); |
| | | GoodsSku goodsSku = goodsSkuMapper.selectById(goodsGroupPurchase.getGoodsSkuId()); |
| | | auctionGoodsVO.setId(auctionCollection.getTargetId()); |
| | | auctionGoodsVO.setPrice(goodsSku.getPrice()); |
| | | auctionGoodsVO.setPrice(goodsGroupPurchase.getGroupPurchasePrice()); |
| | | auctionGoodsVO.setCoverPic(goodsSku.getCoverPic()); |
| | | auctionGoodsVO.setSkuName(goodsSku.getSkuName()); |
| | | auctionGoodsVO.setSoldQuantity(goodsSku.getSoldQuantity()); |
| | | auctionGoodsVO.setIsCollection(2); |
| | | auctionGoodsVO.setXiaosPrice(goodsGroupPurchase.getGroupPurchasePrice()); |
| | | auctionGoodsVO.setXiaosPrice(goodsSku.getPrice()); |
| | | auctionGoodsVO.setStartTime(goodsGroupPurchase.getStartTime()); |
| | | auctionGoodsVO.setEndTime(goodsGroupPurchase.getEndTime()); |
| | | auctionGoodsVO.setXiaosPrice(goodsGroupPurchase.getGroupPurchasePrice()); |
| | | auctionGoodsVO.setType(auctionCollection.getType()); |
| | | auctionGoodsVOS.add(auctionGoodsVO); |
| | | } |
| | | |