Commit f323b5a1 by 张跃

混合支付优惠金额添加

parent 8dcfa103
......@@ -71,5 +71,5 @@ public class CombPayRequest {
private String request_source ="V1";
private String ver ="10";
private String storeName;
private Long merchantDiscount;
}
......@@ -4018,6 +4018,7 @@ public class OrderAdapter {
productVOS.add(productBean);
}
}
orderPayDto.setMerchantDiscount(Math.abs(orderBean.getAccountList().stream().mapToLong(account->account.getShopDiscountAmount()==null?0L:account.getShopDiscountAmount()).sum()));
orderPayDto.setProducts(productVOS);
List<PayPlatformVO> platforms = new ArrayList<>();
PayPlatformVO payPlatformVO = new PayPlatformVO();
......
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