取消订单同步取消分销问题

创建分销单的时候是按照OrderItem的主键来创建,取消的时候应该按照OrderItem的主键来取消,否则会导致无法取消分销单

Signed-off-by: wangxiaorui <742397974@qq.com>
This commit is contained in:
wangxiaorui 2024-03-26 01:19:48 +00:00 committed by Gitee
parent f3e8c0971f
commit 85f994f643
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -83,7 +83,7 @@ public class TradeBrokerageOrderHandler implements TradeOrderHandler {
if (order.getBrokerageUserId() == null) {
return;
}
cancelBrokerage(order.getBrokerageUserId(), orderItem.getOrderId());
cancelBrokerage(order.getBrokerageUserId(), orderItem.getId());
}
/**