Commit 19bd1176 by xiaoer.li@freemud.com

调整PK取值

parent e5202df4
...@@ -135,7 +135,7 @@ public class MaterialPromotionService implements IPromotionService { ...@@ -135,7 +135,7 @@ public class MaterialPromotionService implements IPromotionService {
for (ActivityCalculationDiscountResponseDto.CalculationDiscountResult.ApportionGoods.Material material : apportionGood.getSmallMaterial()) { for (ActivityCalculationDiscountResponseDto.CalculationDiscountResult.ApportionGoods.Material material : apportionGood.getSmallMaterial()) {
if (material.getApportionAmount() == 0) continue; if (material.getApportionAmount() == 0) continue;
pk = shoppingCartConvertAdapter.jointPk(material.getCartGoodsUid(), material.getGoodsId()); pk = shoppingCartConvertAdapter.jointPk(apportionGood.getCartGoodsUid(), material.getGoodsId());
if (mApportion.get(pk) == null) { if (mApportion.get(pk) == null) {
MaterialApportion materialApportion = new MaterialApportion(); MaterialApportion materialApportion = new MaterialApportion();
//materialApportion.setSalePrice(material.getNowPrice()); //materialApportion.setSalePrice(material.getNowPrice());
......
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