新增退款金额字段

This commit is contained in:
2023-06-13 09:20:24 +08:00
parent bcc3979f9c
commit 80170efc96
4 changed files with 11 additions and 19 deletions

View File

@@ -884,6 +884,7 @@ public class OrderService {
payInfo.setPayAmount(bigDecimal.toString());
payInfo.setPayStatus(orderBasicInfo.getPayStatus());
payInfo.setPayTime(DateUtils.formatDateTime(orderBasicInfo.getPayTime()));
payInfo.setRefundAmount(orderPayRecord.getRefundAmount().toString());
String payMode = orderPayRecord.getPayMode();
if (StringUtils.equals(payMode, OrderPayRecordEnum.PRINCIPAL_BALANCE_PAYMENT.getValue())
|| StringUtils.equals(payMode, OrderPayRecordEnum.GIFT_BALANCE_PAYMENT.getValue())) {