Commit 2a893850 by 周晓航

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

parents 9b3df509 d4ec6a49
...@@ -572,7 +572,7 @@ public class CouponAdapter { ...@@ -572,7 +572,7 @@ public class CouponAdapter {
// 重新校验一遍 couponcodes // 重新校验一遍 couponcodes
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.isEmpty(collect)) {
couponPromotionVO.setCouponCodes(new HashSet<>()); couponPromotionVO.setCouponCodes(new HashSet<>());
} }
} }
......
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