aa
This commit is contained in:
@@ -434,7 +434,6 @@ func GetStoreManageState(ctx *jxcontext.Context, storeIDs []int, vendorID int, f
|
||||
storeIDs = storeIDs2
|
||||
}
|
||||
}
|
||||
fmt.Println("storeIDs111111111111111111111111111", storeIDs)
|
||||
task := tasksch.NewParallelTask("GetStoreManageState", tasksch.NewParallelConfig().SetIsContinueWhenError(true), ctx,
|
||||
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
|
||||
v := batchItemList[0].(int)
|
||||
@@ -514,7 +513,7 @@ func GetStoreManageState(ctx *jxcontext.Context, storeIDs []int, vendorID int, f
|
||||
return retVal, err
|
||||
}, storeIDs)
|
||||
tasksch.HandleTask(task, nil, true).Run()
|
||||
result, err := task.GetResult(0)
|
||||
result, _ := task.GetResult(0)
|
||||
for _, v := range result {
|
||||
getStoreManageStateResult = append(getStoreManageStateResult, v.(*GetStoreManageStateResult))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user