From 48e4f5962aadc3f38e53ec44d78567c9f193e00d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 8 Feb 2021 14:04:50 +0800 Subject: [PATCH] aa --- business/jxstore/tempop/tempop.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index 789bca5f4..4f7b2c2e3 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -1839,11 +1839,13 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { if j == len(things)-1 { break } - idList = append(idList, &jdapi.SkuIdEntity{ - OutSkuId: utils.Int64ToStr(things[j].ThingID), - }) - idLists = append(idLists, idList) + if things[j].VendorThingID != "" { + idList = append(idList, &jdapi.SkuIdEntity{ + OutSkuId: utils.Int64ToStr(things[j].ThingID), + }) + } } + idLists = append(idLists, idList) k++ } task := tasksch.NewParallelTask("uuuuu", tasksch.NewParallelConfig().SetIsContinueWhenError(true), ctx,