Commit f1e5bfb3 by 周晓航

bug 修复

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent ad126519
...@@ -87,7 +87,7 @@ public class PlatformCouponRelationServiceImpl implements CouponRelationService ...@@ -87,7 +87,7 @@ public class PlatformCouponRelationServiceImpl implements CouponRelationService
couponCodeVerificationTransDto.setTotalAmount(freightCouponAccountBean.getPrice().intValue()); couponCodeVerificationTransDto.setTotalAmount(freightCouponAccountBean.getPrice().intValue());
} }
// 过滤出配送券 // 过滤出配送券
List<QueryOrdersResponseDto.DataBean.OrderBean.AccountBean> collect = accountList.stream().filter(accountBean -> code.equals(accountBean.getType())).collect(Collectors.toList()); List<QueryOrdersResponseDto.DataBean.OrderBean.AccountBean> collect = accountList.stream().filter(accountBean -> !code.equals(accountBean.getType())).collect(Collectors.toList());
return commonMethodVerification(couponCodeVerificationTransDto, collect, orderBean, couponReqType); return commonMethodVerification(couponCodeVerificationTransDto, collect, orderBean, couponReqType);
} else { } else {
return commonMethodVerification(null, accountList, orderBean, couponReqType); return commonMethodVerification(null, accountList, orderBean, couponReqType);
......
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