This commit is contained in:
苏尹岚
2021-03-10 16:16:22 +08:00
parent 9e17d72597
commit 2f59fd1d51

View File

@@ -445,6 +445,7 @@ func GetStoreManageState(ctx *jxcontext.Context, storeIDs []int, vendorID int, f
index2 = len(storeIDs) - 1
}
storeIDsPage = storeIDs[offset*pageSize : index2]
fmt.Println("storeIDsPage111111111111", offset, pageSize, index2, storeIDsPage)
task := tasksch.NewParallelTask("GetStoreManageState", tasksch.NewParallelConfig().SetParallelCount(20).SetIsContinueWhenError(true), ctx,
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
v := batchItemList[0].(int)