From bc896e98e50bc502d7697908420f79d1c3058332 Mon Sep 17 00:00:00 2001 From: Rosy-zhudan Date: Thu, 8 Aug 2019 17:56:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B6=E5=8F=91=E4=BB=BB=E5=8A=A1=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E5=88=B0=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store_sku_check.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/store_sku_check.go b/business/jxstore/cms/store_sku_check.go index 4970dd4cc..3b07ae497 100644 --- a/business/jxstore/cms/store_sku_check.go +++ b/business/jxstore/cms/store_sku_check.go @@ -274,7 +274,7 @@ func CheckSkuDiffBetweenJxAndVendor(vendorIDList []int, storeIDList []int) { return retVal, err } taskParallel := tasksch.NewParallelTask("CheckSkuDiffBetweenJxAndVendor", tasksch.NewParallelConfig().SetParallelCount(parallelCount), ctx, taskFunc, jxStoreInfoList.Stores) - tasksch.HandleTask(taskParallel, task, false).Run() + tasksch.HandleTask(taskParallel, task, true).Run() _, err = taskParallel.GetResult(0) if err != nil { baseapi.SugarLogger.Debugf("CheckSkuDiffBetweenJxAndVendor taskParallel error:%v", err) @@ -290,7 +290,7 @@ func CheckSkuDiffBetweenJxAndVendor(vendorIDList []int, storeIDList []int) { return result, err } taskSeq := tasksch.NewSeqTask("CheckSkuDiffBetweenJxAndVendor SeqTask", ctx, taskSeqFunc, 2) - tasksch.HandleTask(taskSeq, nil, false).Run() + tasksch.HandleTask(taskSeq, nil, true).Run() } func WriteToExcel(task *tasksch.SeqTask, data map[int][]DiffData) {