Commit f357ac1d by chongfu.liang

配送费

parent da89997a
......@@ -34,4 +34,6 @@ public class SetMessageBO {
private ShoppingGoodsAmountBO shoppingGoodsAmountBO;
private DeliveryBO deliveryBO;
}
......@@ -315,6 +315,11 @@ public class AbstractListCartGoodsService implements ListCartGoodsService {
discountResult = setMessageBO.getCalculationDiscountBO().getResult();
}
//配送描述
if (setMessageBO.getDeliveryBO() != null){
shoppingCartGoodsBO.setDeliveryDiscountDesc(setMessageBO.getDeliveryBO().getDeliveryDiscountDesc());
}
// 满减提示
StringBuilder messageBuilder = new StringBuilder();
ActivityBO activityBO = setMessageBO.getActivityBO();
......@@ -534,6 +539,7 @@ public class AbstractListCartGoodsService implements ListCartGoodsService {
shoppingCartGoodsBO.setProductsCount(distributeBO.getCartGoods().size());
setMessageBO.setDeliveryBO(delivery);
setMessageBO.setActivityBO(fullReductionBO.getActivityBO());
setMessageBO.setShoppingCartGoodsBO(shoppingCartGoodsBO);
setMessageBO.setCartGoods(distributeBO.getCartGoods());
......
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