Commit 5e322eb5 authored by unset's avatar unset

添加订单商品信息

parent 51b13676
...@@ -971,6 +971,7 @@ public class OrderInfoBiz extends BaseBiz<OrderInfoMapper, OrderInfo> { ...@@ -971,6 +971,7 @@ public class OrderInfoBiz extends BaseBiz<OrderInfoMapper, OrderInfo> {
orderInfo.setPayTime(new Date()); orderInfo.setPayTime(new Date());
orderInfo.setPayStatus(1); orderInfo.setPayStatus(1);
updateSelectiveByIdRe(orderInfo); updateSelectiveByIdRe(orderInfo);
orderPayVo.setAmount(orderInfo.getTotalAmount().multiply(new BigDecimal(100)).intValue());
orderPayVo.setBuyerIp(StringUtils.defaultIfBlank(request.getHeader("userHost"), ClientUtil.getClientIp(request))); orderPayVo.setBuyerIp(StringUtils.defaultIfBlank(request.getHeader("userHost"), ClientUtil.getClientIp(request)));
return thirdFeign.wx(orderPayVo); return thirdFeign.wx(orderPayVo);
} }
......
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