aa
This commit is contained in:
@@ -445,7 +445,7 @@ func GetStoreManageState(ctx *jxcontext.Context, storeIDs []int, vendorID int, f
|
|||||||
index2 = len(storeIDs) - 1
|
index2 = len(storeIDs) - 1
|
||||||
}
|
}
|
||||||
storeIDsPage = storeIDs[offset*pageSize : index2]
|
storeIDsPage = storeIDs[offset*pageSize : index2]
|
||||||
task := tasksch.NewParallelTask("GetStoreManageState", tasksch.NewParallelConfig().SetIsContinueWhenError(true), ctx,
|
task := tasksch.NewParallelTask("GetStoreManageState", 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) {
|
||||||
v := batchItemList[0].(int)
|
v := batchItemList[0].(int)
|
||||||
storeDetail, _ := dao.GetStoreDetail(db, v, vendorID, "")
|
storeDetail, _ := dao.GetStoreDetail(db, v, vendorID, "")
|
||||||
|
|||||||
Reference in New Issue
Block a user