From 97d4d08e5099e32b71d9e806393d7a5b0e95be15 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Tue, 22 Sep 2020 01:06:16 +0800 Subject: [PATCH] bug && --- business/jxcallback/orderman/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index e9221b96a..5404a7b25 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -1500,7 +1500,7 @@ func TransferJdsOrder(ctx *jxcontext.Context, vendorOrderID string, storeID int) if order.Status >= model.OrderStatusDelivering && order.Status != model.OrderStatusCanceled { return "", fmt.Errorf("暂不支持此状态的订单进行转移!") } - if order.VendorID != model.VendorIDJDShop || order.VendorID != model.VendorIDJX { + if order.VendorID != model.VendorIDJDShop && order.VendorID != model.VendorIDJX { return "", fmt.Errorf("暂不支持该平台的订单进行转移!") } skus, err := dao.GetSimpleOrderSkus(db, vendorOrderID, nil)