From a2abeaeead57edfb0ea83d7ef8a22c56616ffc82 Mon Sep 17 00:00:00 2001 From: gazebo Date: Fri, 26 Jul 2019 16:39:53 +0800 Subject: [PATCH] =?UTF-8?q?-=20syncStoreSkuNew=E4=B8=AD=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E7=9A=84=E8=B6=8A=E7=95=8C=E9=94=99=EF=BC=88GetStoreSkusFullIn?= =?UTF-8?q?fo=E4=B8=8D=E8=BF=94=E5=9B=9E=E9=94=99=E8=AF=AF=E5=B9=B6?= =?UTF-8?q?=E4=B8=8D=E4=B8=80=E5=AE=9A=E8=A1=A8=E7=A4=BA=E6=9C=89=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/sync_store_sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/sync_store_sku.go b/business/jxstore/cms/sync_store_sku.go index 6e5fec919..c7e3a4395 100644 --- a/business/jxstore/cms/sync_store_sku.go +++ b/business/jxstore/cms/sync_store_sku.go @@ -366,7 +366,7 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, isFull bo &partner.StoreSkuInfo{ SkuID: batchedStoreSkuList[0].SkuID, }, - }); err2 == nil { + }); err2 == nil && len(skuNameList) > 0 { batchedStoreSkuList[0].VendorNameID = skuNameList[0].VendorNameID batchedStoreSkuList[0].VendorSkuID = skuNameList[0].SkuList[0].VendorSkuID err = nil