🐛 修改了支付 demo 退款单匹配错误问题
This commit is contained in:
parent
ed1b55fed7
commit
d31a12aff7
|
@ -232,7 +232,7 @@ public class PayDemoOrderServiceImpl implements PayDemoOrderService {
|
|||
throw exception(DEMO_ORDER_NOT_FOUND);
|
||||
}
|
||||
// 1.2 校验退款订单匹配
|
||||
if (Objects.equals(order.getPayOrderId(), payRefundId)) {
|
||||
if (Objects.equals(order.getPayRefundId(), payRefundId)) {
|
||||
log.error("[validateDemoOrderCanRefunded][order({}) 退款单不匹配({}),请进行处理!order 数据是:{}]",
|
||||
id, payRefundId, toJsonString(order));
|
||||
throw exception(DEMO_ORDER_REFUND_FAIL_REFUND_ORDER_ID_ERROR);
|
||||
|
|
Loading…
Reference in New Issue