手动执行退款接口

This commit is contained in:
2023-08-30 14:39:39 +08:00
parent a5efd1e690
commit 79fea56097

View File

@@ -96,7 +96,7 @@ public class OrderPayRecordServiceImpl implements OrderPayRecordService {
payInfo.setPayStatus(orderBasicInfo.getPayStatus());
payInfo.setPayTime(DateUtils.formatDateTime(orderBasicInfo.getPayTime()));
if (orderPayRecord.getRefundAmount() != null) {
payInfo.setRefundAmount(orderPayRecord.getRefundAmount().toString());
payInfo.setRefundAmount(orderBasicInfo.getRefundAmount().toString());
}
String payMode = orderPayRecord.getPayMode();
if (StringUtils.equals(payMode, OrderPayRecordEnum.PRINCIPAL_BALANCE_PAYMENT.getValue())