Commit c9c5d0a8 by yu.sun

sunyu::update::merge branch to master from new function about getCartInfoByUser

parent 0f8af4d1
......@@ -347,7 +347,6 @@ public class CouponDiscountCalculation {
res.setStoreId(requestVo.getStoreId());
res.setChannelIdList(commonService.getOrgCodes(requestVo.getPartnerId(), requestVo.getStoreId()));
res.setCouponCodes(couponCodes);
List<CartGoods> productList = new ArrayList<>();
List<CouponProductVo> calculAmountProductList = new ArrayList<>();
if (CollectionUtils.isNotEmpty(cartGoods)) {
cartGoods.forEach(cartGood -> {
......@@ -385,7 +384,7 @@ public class CouponDiscountCalculation {
// });
// }
});
res.setProductList(productList);
res.setProductList(cartGoods);
Long totalAmount = createProductRequest(cartGoods, calculAmountProductList);
res.setTotalAmount(Integer.valueOf(totalAmount.toString()));
resList.add(res);
......
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