Commit e0cf1b31 by 徐康

套餐原价计算修改

parent f8ac643b
...@@ -1980,6 +1980,9 @@ public class OrderAdapter { ...@@ -1980,6 +1980,9 @@ public class OrderAdapter {
ProductVo productVo = convent2ProductVo(productBean); ProductVo productVo = convent2ProductVo(productBean);
// 套餐商品设置子商品节点 // 套餐商品设置子商品节点
if (ObjectUtils.equals(ProductTypeEnum.SETMEAL_PRODUCT.getCode(), productBean.getProductType()) || ObjectUtils.equals(ProductTypeEnum.SETMEAL_UPPRICE_PRODUCT.getCode(), productBean.getProductType())) { if (ObjectUtils.equals(ProductTypeEnum.SETMEAL_PRODUCT.getCode(), productBean.getProductType()) || ObjectUtils.equals(ProductTypeEnum.SETMEAL_UPPRICE_PRODUCT.getCode(), productBean.getProductType())) {
if(mcCafePartnerId.equals(partnerId)) {
productVo.setOriginalPrice(productBean.getSalePrice() + productBean.getProductSharePrice().longValue());
}
List<ProductVo> setMealProducts = new ArrayList<>(); List<ProductVo> setMealProducts = new ArrayList<>();
productBean.getComboProduct().forEach(product -> { productBean.getComboProduct().forEach(product -> {
if(!"无".equals(product.getSpecificationName())) { if(!"无".equals(product.getSpecificationName())) {
......
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