This commit is contained in:
YunaiV 2023-12-29 22:33:40 +08:00
commit c38790655f

View File

@ -232,7 +232,7 @@ public class PayDemoOrderServiceImpl implements PayDemoOrderService {
throw exception(DEMO_ORDER_NOT_FOUND); throw exception(DEMO_ORDER_NOT_FOUND);
} }
// 1.2 校验退款订单匹配 // 1.2 校验退款订单匹配
if (Objects.equals(order.getPayOrderId(), payRefundId)) { if (Objects.equals(order.getPayRefundId(), payRefundId)) {
log.error("[validateDemoOrderCanRefunded][order({}) 退款单不匹配({})请进行处理order 数据是:{}]", log.error("[validateDemoOrderCanRefunded][order({}) 退款单不匹配({})请进行处理order 数据是:{}]",
id, payRefundId, toJsonString(order)); id, payRefundId, toJsonString(order));
throw exception(DEMO_ORDER_REFUND_FAIL_REFUND_ORDER_ID_ERROR); throw exception(DEMO_ORDER_REFUND_FAIL_REFUND_ORDER_ID_ERROR);