Commit 51d35b75 by 刘鹏飞

coco活动集合剔除集点活动展示

parent 4bca1c93
......@@ -37,7 +37,7 @@ public class CocoShoppingCartRelationServiceImpl implements ShoppingCartRelation
// coco返回的活动中剔除集点活动
if(discountResult.getDiscounts() != null && !discountResult.getDiscounts().isEmpty()){
discountResult.getDiscounts().forEach(discount -> {
if(ActivityTypeEnum.TYPE_221.equals(discount.getType())){
if(ActivityTypeEnum.TYPE_221.getCode().equals(discount.getType())){
return;
}
discounts.add(discount);
......
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