| | |
| | | } |
| | | for (GoodsVO good : goods) { |
| | | //价格 |
| | | Price price = getPrice( good.getGoodsId()); |
| | | if(null != price){ |
| | | //秒杀活动 |
| | | good.setSellingPrice(price.getCash()); |
| | | good.setIntegral(price.getPoint()); |
| | | good.setPurchaseLimit(price.getPurchaseLimit()); |
| | | good.setStartTime(price.getStartTime()); |
| | | good.setEndTime(price.getEndTime()); |
| | | } |
| | | // Price price = getPrice( good.getGoodsId()); |
| | | // if(null != price){ |
| | | // //秒杀活动 |
| | | // good.setSellingPrice(price.getCash()); |
| | | // good.setIntegral(price.getPoint()); |
| | | // good.setPurchaseLimit(price.getPurchaseLimit()); |
| | | // good.setStartTime(price.getStartTime()); |
| | | // good.setEndTime(price.getEndTime()); |
| | | // } |
| | | Integer point = getPoint(good.getSellingPrice()); |
| | | good.setIntegral(point); |
| | | Integer data = orderClient.getGoodsSaleNum(good.getGoodsId(), 1).getData(); |
| | | good.setSaleNum(data); |
| | | } |