Commit cf6bf2e6 by 孙昱

Merge remote-tracking branch 'origin/feature/20201125_多规格商品下添加单规格商品_yu.sun' into qa

parents d9bc7980 1e8cce6e
......@@ -448,7 +448,7 @@ public class CalculationServiceImpl {
}
//加料
if (cartGoods != null && CollectionUtils.isNotEmpty(cartGoods.getProductMaterialList())) {
if (cartGoods != null && (null != cartGoods.getProductMaterialList() || cartGoods.getProductMaterialList().size()>0)) {
for (CartGoods.MaterialGoods materialGoods : cartGoods.getProductMaterialList()) {
ActivityCalculationDiscountRequestDto.CalculationDiscountGoods.Material material = new ActivityCalculationDiscountRequestDto.CalculationDiscountGoods.Material();
material.setType(1);
......
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