取消订单同步取消分销问题
创建分销单的时候是按照OrderItem的主键来创建,取消的时候应该按照OrderItem的主键来取消,否则会导致无法取消分销单 Signed-off-by: wangxiaorui <742397974@qq.com>
This commit is contained in:
parent
f3e8c0971f
commit
85f994f643
@ -83,7 +83,7 @@ public class TradeBrokerageOrderHandler implements TradeOrderHandler {
|
||||
if (order.getBrokerageUserId() == null) {
|
||||
return;
|
||||
}
|
||||
cancelBrokerage(order.getBrokerageUserId(), orderItem.getOrderId());
|
||||
cancelBrokerage(order.getBrokerageUserId(), orderItem.getId());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user