Commit ed3ce3d3 by chongfu.liang

fix创建订单获取不到属性

parent d041b38a
......@@ -453,12 +453,9 @@ public class AbstractApportionService implements GetShoppingCartGoodsApportionSe
product.setOriginalPrice(checkSpqInfoResponseDto.getPrice());
product.setSpuId(checkSpqInfoResponseDto.getSpuId());
product.setSkuId(StringUtils.isEmpty(checkSpqInfoResponseDto.getSkuId()) ? checkSpqInfoResponseDto.getSpuId() : checkSpqInfoResponseDto.getSkuId());
product.setQty(1);
product.setQty(product.getQty());
product.setCouponCode(checkSpqInfoResponseDto.getCouponCode());
product.setSpuName(checkSpqInfoResponseDto.getSpuName());
product.setSpecProductId(checkSpqInfoResponseDto.getDefaultSpecId());
product.setSubName(checkSpqInfoResponseDto.getDefaultSpecName());
product.setExtra(checkSpqInfoResponseDto.getExtras());
if (GoodsTypeEnum.HG_COUPON_GOODS.getGoodsType().equals(product.getGoodsType())) {
CalculationDiscountBO.CalculationDiscountResult.Goods discountGoods = discountResult.getGoods()
.stream()
......
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