| | |
| | | if (goods.getCommodityInfo().getPictureUrl().size() > 0)
|
| | | goodsInfo.setPicUrl(goods.getCommodityInfo().getPictureUrl().get(0).getPicUrl()); // 缩略图
|
| | |
|
| | | |
| | | String commodityPrice = goods.getCommodityInfo().getCommodityPrice();
|
| | | if (StringUtil.isNullOrEmpty(commodityPrice)) {
|
| | | commodityPrice = goods.getCommodityInfo().getSnPrice();
|
| | |
| | | if (goods.getCouponInfo() != null && !StringUtil.isNullOrEmpty(goods.getCouponInfo().getCouponUrl())) {// 有券
|
| | | CouponInfoVO coupon = new CouponInfoVO();
|
| | | coupon.setAmount(new BigDecimal(goods.getCouponInfo().getCouponValue()));
|
| | | if (StringUtil.isNullOrEmpty(goods.getCouponInfo().getBounsLimit())) {
|
| | | coupon.setStartFee(new BigDecimal(goods.getCouponInfo().getCouponValue()));
|
| | | } else
|
| | | coupon.setStartFee(new BigDecimal(goods.getCouponInfo().getBounsLimit()));
|
| | |
|
| | | if (goods.getCouponInfo().getCouponStartTime() != null) {
|