Commit 71461a61 by ping.wu

对象传错误修改,配合会员修改不适用这个字段

parent e661f0e3
......@@ -93,10 +93,10 @@ public class ActivitySdkAdapter {
discountRequest.setChannel("pickup");
discountRequest.setVer(1);
discountRequest.setGoods(new ArrayList<CalculationDiscountRequest.CalculationDiscountGoods>());
if(CollectionUtils.isNotEmpty(extendInfoResponse.getMemberPaids()))
discountRequest.setMemberLevel(extendInfoResponse.getMemberPaids().get(0).getPaidId());
else
discountRequest.setMemberLevel("-1");
// if(CollectionUtils.isNotEmpty(extendInfoResponse.getMemberPaids()))
// discountRequest.setMemberLevel(extendInfoResponse.getMemberPaids().get(0).getPaidId());
// else
// discountRequest.setMemberLevel("-1");
if(CollectionUtils.isNotEmpty(extendInfoResponse.getMemberLabels())) {
discountRequest.setCustomerLabel(extendInfoResponse.getMemberLabels().stream().map(GetMemberExtendInfoResponse.GetMemberLabels::getLabelCode).collect(Collectors.joining(",")));
......
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