提交代码

yy_dev
胡锐 1 year ago
parent 73c4fe7e38
commit 1709249a6a
  1. 1
      open-api/src/main/java/com/api/controller/v1/TradeController.java
  2. 5
      service/src/main/java/com/hfkj/openapi/v1/model/response/ResponseRefundTradeModel.java
  3. 1
      service/src/main/java/com/hfkj/openapi/v1/service/impl/OpenApiTradeOrderServiceImpl.java

@ -230,6 +230,7 @@ public class TradeController {
refundTradeModel.setOutTradeNo(tradeOrder.getOutTradeNo()); refundTradeModel.setOutTradeNo(tradeOrder.getOutTradeNo());
refundTradeModel.setPayMode(tradeOrder.getPayMode()); refundTradeModel.setPayMode(tradeOrder.getPayMode());
refundTradeModel.setRefundTradeNo(refund.getRefundNo()); refundTradeModel.setRefundTradeNo(refund.getRefundNo());
refundTradeModel.setAccTradeNo(refund.getAccTradeNo());
refundTradeModel.setRefundAmount(refund.getRefundAmount().toString()); refundTradeModel.setRefundAmount(refund.getRefundAmount().toString());
refundTradeModel.setRefundPayerAmount(refund.getPayerAmount().toString()); refundTradeModel.setRefundPayerAmount(refund.getPayerAmount().toString());
refundTradeModel.setRefundTime(refund.getRefundTime()); refundTradeModel.setRefundTime(refund.getRefundTime());

@ -37,6 +37,11 @@ public class ResponseRefundTradeModel {
*/ */
private String refundTradeNo; private String refundTradeNo;
/**
* 账户端交易订单号
*/
private String accTradeNo;
/** /**
* 退款金额 * 退款金额
*/ */

@ -116,6 +116,7 @@ public class OpenApiTradeOrderServiceImpl implements OpenApiTradeOrderService {
refundTradeModel.setOutTradeNo(tradeOrder.getOutTradeNo()); refundTradeModel.setOutTradeNo(tradeOrder.getOutTradeNo());
refundTradeModel.setPayMode(tradeOrder.getPayMode()); refundTradeModel.setPayMode(tradeOrder.getPayMode());
refundTradeModel.setRefundTradeNo(orderRefund.getRefundNo()); refundTradeModel.setRefundTradeNo(orderRefund.getRefundNo());
refundTradeModel.setAccTradeNo(orderRefund.getAccTradeNo());
refundTradeModel.setRefundAmount(orderRefund.getRefundAmount().toString()); refundTradeModel.setRefundAmount(orderRefund.getRefundAmount().toString());
refundTradeModel.setRefundPayerAmount(orderRefund.getPayerAmount().toString()); refundTradeModel.setRefundPayerAmount(orderRefund.getPayerAmount().toString());
refundTradeModel.setRefundTime(orderRefund.getRefundTime()); refundTradeModel.setRefundTime(orderRefund.getRefundTime());

Loading…
Cancel
Save