Commit 3eca0fa1 by xiaoer.li@freemud.com

Merge remote-tracking branch 'origin/feature/2.1.15-三方编码'

parents 85c91ee7 a5b2810e
......@@ -389,6 +389,7 @@ public class ShoppingCartAdapter {
//原行单价*数量
material.setOriginalAmount(detail.getProductFinalPrice().longValue() * cartGoods.getQty());
material.setOriginalPrice(detail.getProductFinalPrice().longValue());
material.setCustomerCode(detail.getCustomerCode());
materialGoodsList.add(material);
materialAmount += detail.getProductFinalPrice().longValue() * cartGoods.getQty();
originalMaterAmount += detail.getProductFinalPrice().longValue() * cartGoods.getQty();
......
......@@ -393,6 +393,7 @@ public class CalculationCommonService {
goods.setSpuName(mg.getSpuName());
goods.setSalePrice(mg.getFinalPrice());
goods.setQty(cartGoods.getQty());
goods.setCustomerCode(cartGoods.getCustomerCode());
goods.setOriginalPrice(mg.getOriginalPrice());
//提前当前行促销
BlockRow blockRow = smallRow.get(goods.getSpuId());
......
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