Commit 957a617e by 徐康

Merge branch '2020/10/06-随单购买月享卡-huiyang' into qa

parents ab37e427 ce6d9bb4
......@@ -1490,8 +1490,16 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
req.setOrderCode(orderBean.getOid());
orderSdkService.updateCostCouponCode(req,LogTreadLocal.getTrackingNo());
List<OrderBean.AccountBean> accountList = orderBean.getAccountList().stream().filter(
account -> (withOrderBuyCouponCode.equals(account.getAccountId()))
).collect(Collectors.toList());
if(CollectionUtils.isNotEmpty(accountList)) {
accountList.forEach(o -> o.setAccountId(buyCouponCode));
}
} catch (Exception e){
LogUtil.error("getProducts_exception", null, null, e);
LogUtil.error("买券异常", null, null, e);
}
}
......
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