From d38582709f98225b39b9f0a29f051c802c1d1fe4 Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 17 Dec 2019 11:25:22 +0800 Subject: [PATCH] act.SyncAct --- business/jxstore/act/act.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/act/act.go b/business/jxstore/act/act.go index d70cbefb2..32875944e 100644 --- a/business/jxstore/act/act.go +++ b/business/jxstore/act/act.go @@ -762,7 +762,7 @@ func SyncAct(ctx *jxcontext.Context, parentTask tasksch.ITask, actID int, vendor if vendorIDs == nil { vendorIDs = partner.GetVendorIDsFromActMap(actMap) } - if len(vendorIDs) == 0 || actMap[vendorIDs[0]].Type == model.ActSkuFake { + if len(vendorIDs) == 0 || vendorIDs[0] == model.VendorIDJX || actMap[vendorIDs[0]].Type == model.ActSkuFake { return "", nil } task := tasksch.NewParallelTask("SyncAct", tasksch.NewParallelConfig().SetIsContinueWhenError(true), ctx,