aa
This commit is contained in:
@@ -440,11 +440,11 @@ func GetStoreManageState(ctx *jxcontext.Context, storeIDs []int, vendorID int, f
|
||||
storeIDs = storeIDs2
|
||||
}
|
||||
}
|
||||
index2 := (offset+1)*pageSize - 1
|
||||
index2 := (offset + 1) * pageSize
|
||||
if index2 > len(storeIDs) {
|
||||
index2 = len(storeIDs) - 1
|
||||
}
|
||||
storeIDsPage = storeIDs[offset*pageSize : index2]
|
||||
storeIDsPage = storeIDs[offset*pageSize+1 : 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) {
|
||||
|
||||
Reference in New Issue
Block a user