手动执行退款接口

This commit is contained in:
2023-08-30 14:50:11 +08:00
parent 79fea56097
commit 5bb0b73e38

View File

@@ -95,7 +95,7 @@ public class OrderPayRecordServiceImpl implements OrderPayRecordService {
payInfo.setPayAmount(bigDecimal.toString()); payInfo.setPayAmount(bigDecimal.toString());
payInfo.setPayStatus(orderBasicInfo.getPayStatus()); payInfo.setPayStatus(orderBasicInfo.getPayStatus());
payInfo.setPayTime(DateUtils.formatDateTime(orderBasicInfo.getPayTime())); payInfo.setPayTime(DateUtils.formatDateTime(orderBasicInfo.getPayTime()));
if (orderPayRecord.getRefundAmount() != null) { if (orderBasicInfo.getRefundAmount() != null) {
payInfo.setRefundAmount(orderBasicInfo.getRefundAmount().toString()); payInfo.setRefundAmount(orderBasicInfo.getRefundAmount().toString());
} }
String payMode = orderPayRecord.getPayMode(); String payMode = orderPayRecord.getPayMode();