Commit 332e9319 authored by 宋浩志's avatar 宋浩志 Committed by Gitee
Browse files

fix:售后退款只退一部分会失败的问题

parent 2b69527d
......@@ -183,7 +183,7 @@ public class AdminAftersaleController {
wxPayRefundRequest.setOutRefundNo("refund_" + order.getOrderSn());
// 元转成分
Integer totalFee = aftersaleOne.getAmount().multiply(new BigDecimal(100)).intValue();
wxPayRefundRequest.setTotalFee(totalFee);
wxPayRefundRequest.setTotalFee(order.getActualPrice().multiply(new BigDecimal(100)).intValue());
wxPayRefundRequest.setRefundFee(totalFee);
WxPayRefundResult wxPayRefundResult;
......
Supports Markdown
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