aa
This commit is contained in:
@@ -456,7 +456,7 @@ func RefreshStoreManageState(ctx *jxcontext.Context) {
|
|||||||
}, createList)
|
}, createList)
|
||||||
tasksch.HandleTask(task3, task, true).Run()
|
tasksch.HandleTask(task3, task, true).Run()
|
||||||
task3.GetResult(0)
|
task3.GetResult(0)
|
||||||
task4 := tasksch.NewParallelTask("updateList", tasksch.NewParallelConfig().SetIsContinueWhenError(true), ctx,
|
task4 := tasksch.NewParallelTask("updateList", tasksch.NewParallelConfig().SetParallelCount(20).SetIsContinueWhenError(true), ctx,
|
||||||
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
|
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
|
||||||
storeMap := batchItemList[0].(*model.StoreMap)
|
storeMap := batchItemList[0].(*model.StoreMap)
|
||||||
if storeMap.VendorOrgCode == "" || storeMap.VendorStoreID == "" {
|
if storeMap.VendorOrgCode == "" || storeMap.VendorStoreID == "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user