Commit 04d4fc9c authored by linlinjava's avatar linlinjava Committed by Gitee
Browse files

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

Merge pull request !50 from 宋浩志/N/A
parents 2b69527d 332e9319
......@@ -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