mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 03:55:17 +08:00
交易分账 重构
This commit is contained in:
@@ -2456,8 +2456,8 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_REFUND_ORDER_CALLBACK_RECORD_ERROR);
|
||||
}
|
||||
|
||||
// 判断支付金额和退款金额
|
||||
String paymentId = callbackRecord.getPaymentId();
|
||||
// 判断支付金额和退款金额
|
||||
BigDecimal refundAmount = dto.getRefundAmount();
|
||||
BigDecimal payAmt = callbackRecord.getPayAmt();
|
||||
if (refundAmount.compareTo(payAmt) > 0) {
|
||||
@@ -2469,7 +2469,7 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
||||
String expend = callbackRecord.getExpend();
|
||||
JSONObject expendJsonObject = JSON.parseObject(expend);
|
||||
String payMode = expendJsonObject.getString("payMode");
|
||||
BigDecimal refundAmt = null;
|
||||
BigDecimal refundAmt = null; // 交易退款金额
|
||||
if (StringUtils.equalsIgnoreCase(payMode, Constants.ADAPAY_PAY_MODE_DELAY)) {
|
||||
// 延迟分账未确认调撤销调撤销接口退款
|
||||
PaymentReverseOperation operation = new PaymentReverseOperation();
|
||||
|
||||
Reference in New Issue
Block a user