Commit 46cb98b9 by 周晓航

重新校验一遍 参数

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent a921eeab
...@@ -572,7 +572,7 @@ public class CouponAdapter { ...@@ -572,7 +572,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