| | |
| | | GoodsCategory data1 = goodsSkuClient.getCategoryOne(data6.getCategoryId(), SecurityConstants.INNER).getData(); |
| | | GoodsSeries data2 = goodsSkuClient.getSeriesOne(data6.getSeriesId(), SecurityConstants.INNER).getData(); |
| | | GoodsFlavorType data3 = goodsSkuClient.getFlavorTypeOne(data6.getFlavorTypeId(), SecurityConstants.INNER).getData(); |
| | | homeGoodsSeckillInfoVO.setBrand(data.getBrandName()); |
| | | if(data!=null){ |
| | | homeGoodsSeckillInfoVO.setBrand(data.getBrandName()); |
| | | } |
| | | if(data1!=null){ |
| | | homeGoodsSeckillInfoVO.setCategory(data1.getCategoryName()); |
| | | } |
| | | if(data2!=null){ |
| | | homeGoodsSeckillInfoVO.setSeries(data2.getSeriesName()); |
| | | } |
| | | if(data3!=null){ |
| | | homeGoodsSeckillInfoVO.setFlavorType(data3.getFlavorTypeName()); |
| | | } |
| | | |
| | | homeGoodsSeckillInfoVO.setPrice(data6.getPrice()); |
| | | homeGoodsSeckillInfoVO.setSoldQuantity(byId.getSoldQuantity()); |
| | | homeGoodsSeckillInfoVO.setUnit(data6.getUnit()); |