|
|
|
@@ -230,6 +230,7 @@ public class WxRefundOrderServiceImpl implements WxRefundOrderService { |
|
|
|
// 创建退款订单 |
|
|
|
final IdWorker idWorker = IdWorker.get(); |
|
|
|
Long id = idWorker.nextId(); |
|
|
|
String out_refund_id = String.valueOf(id); |
|
|
|
Date currentDate = new Date(); |
|
|
|
|
|
|
|
record.setId(id); |
|
|
|
@@ -264,7 +265,7 @@ public class WxRefundOrderServiceImpl implements WxRefundOrderService { |
|
|
|
if (record.getTransactionId() != null) |
|
|
|
wxRefundOrderP.setTransaction_id(record.getTransactionId()); |
|
|
|
wxRefundOrderP.setOut_trade_no(record.getPayOrderNo()); |
|
|
|
wxRefundOrderP.setOut_refund_no(String.valueOf(id)); |
|
|
|
wxRefundOrderP.setOut_refund_no(out_refund_id); |
|
|
|
wxRefundOrderP.setTotal_fee(record.getTotalFee()); |
|
|
|
wxRefundOrderP.setRefund_fee(record.getRefundFee()); |
|
|
|
|
|
|
|
|