Commit 8449e707 by 周晓航

Merge branch 'feature/20210609-v2.0.34-购物车支持配送券ID1030707-周晓航'

parents 75972eee 46cb98b9
...@@ -573,7 +573,7 @@ public class CouponAdapter { ...@@ -573,7 +573,7 @@ public class CouponAdapter {
if (CollectionUtils.isNotEmpty(couponPromotionVO.getCouponCodes())) { if (CollectionUtils.isNotEmpty(couponPromotionVO.getCouponCodes())) {
Set<String> collect = couponPromotionVO.getCouponCodes().stream().filter(s -> !"".equals(s)).collect(Collectors.toSet()); Set<String> collect = couponPromotionVO.getCouponCodes().stream().filter(s -> !"".equals(s)).collect(Collectors.toSet());
if (CollectionUtils.isNotEmpty(collect)) { if (CollectionUtils.isNotEmpty(collect)) {
couponPromotionVO.setCouponCodes(null); couponPromotionVO.setCouponCodes(new HashSet<>());
} }
} }
return couponPromotionVO; return couponPromotionVO;
......
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