汇付支付 执行退款

This commit is contained in:
2023-05-27 16:01:27 +08:00
parent 35413920d3
commit 6cba1f84c5
9 changed files with 83 additions and 7 deletions

View File

@@ -758,7 +758,7 @@ public class OrderService {
orderBasicInfoService.weChatRefund(dto);
}
public void adapayRefund(WeChatRefundDTO dto) {
public void adapayRefund(WeChatRefundDTO dto) throws BaseAdaPayException {
log.info("汇付退款 param:{}", JSON.toJSONString(dto));
// 退款有两种情况 1-订单结算退款 2-用户余额退款
String refundType = dto.getRefundType();
@@ -1213,7 +1213,6 @@ public class OrderService {
}
}
// 入库
OrderInvoiceRecord orderInvoiceRecord = new OrderInvoiceRecord();
orderInvoiceRecord.setStatus("0");