查询订单退款信息

This commit is contained in:
Guoqs
2024-06-04 15:26:08 +08:00
parent 323965dbbf
commit 24fb5b33db
4 changed files with 55 additions and 10 deletions

View File

@@ -204,6 +204,16 @@ public class OrderPayRecordServiceImpl implements OrderPayRecordService {
return resultList;
}
@Override
public List<String> parsePaymentIdByDeductionRecord(String deductionRecord) {
List<String> resultList = Lists.newArrayList();
List<PaymentInfo> paymentInfos = parseDeductionRecord(deductionRecord);
if (CollectionUtils.isNotEmpty(paymentInfos)) {
resultList = paymentInfos.stream().map(PaymentInfo::getPaymentId).collect(Collectors.toList());
}
return resultList;
}
@Override
public void updateRefundAmount(String orderCode, String paymentId, BigDecimal refundAmt) {
List<OrderPayRecord> orderPayRecordList = getOrderPayRecordList(orderCode);