This commit is contained in:
Lemon
2023-06-13 09:32:47 +08:00
4 changed files with 12 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())) {