From bfe5cbce3fcb7c25ac1d25e6974b95a7393a8e1a Mon Sep 17 00:00:00 2001 From: richboo111 Date: Wed, 27 Sep 2023 11:30:40 +0800 Subject: [PATCH] =?UTF-8?q?=E2=80=9C1=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index c3c763fae..4fa2d39f7 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -6339,7 +6339,7 @@ func CreateDDWarehouse(vendorOrgCode string, vendorStoreID, storeID int64) error var errList errlist.ErrList bind, err := tiktok_store.GetWarehouseByStore(vendorOrgCode, vendorStoreID) globals.SugarLogger.Debugf("CreateDDWarehouse bind=%s", utils.Format4Output(bind, false)) - if err == nil && bind[utils.Int64ToStr(storeID)][0].WarehouseId > 0 { + if err == nil && bind[utils.Int64ToStr(vendorStoreID)][0].WarehouseId > 0 { return nil } warehouseID, err1 := tiktok_store.CreateWarehouse(vendorOrgCode, storeID)