aa
This commit is contained in:
@@ -1844,7 +1844,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
|||||||
db = dao.GetDB()
|
db = dao.GetDB()
|
||||||
)
|
)
|
||||||
storeMaps, _ := dao.GetStoresMapList(db, []int{model.VendorIDJD}, nil, nil, model.StoreStatusAll, model.StoreIsSyncAll, "", "", "320406")
|
storeMaps, _ := dao.GetStoresMapList(db, []int{model.VendorIDJD}, nil, nil, model.StoreStatusAll, model.StoreIsSyncAll, "", "", "320406")
|
||||||
things, _ := dao.GetThingMapList(db, model.ThingTypeSku, []int{model.VendorIDJD}, []int{6092260, 27007, 6043692, 27008, 27009}, []string{"320406"})
|
things, _ := dao.GetThingMapList(db, model.ThingTypeSku, []int{model.VendorIDJD}, nil, []string{"320406"})
|
||||||
thingIDmap := make(map[int64]string)
|
thingIDmap := make(map[int64]string)
|
||||||
thingIDmap2 := make(map[string]int)
|
thingIDmap2 := make(map[string]int)
|
||||||
for _, v := range things {
|
for _, v := range things {
|
||||||
@@ -1856,7 +1856,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
|||||||
task := tasksch.NewParallelTask("uuuuu", tasksch.NewParallelConfig().SetIsContinueWhenError(true), ctx,
|
task := tasksch.NewParallelTask("uuuuu", tasksch.NewParallelConfig().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)
|
||||||
storeSkus, _ := dao.GetStoresSkusInfo(db, []int{storeMap.StoreID}, []int{6092260, 27007, 6043692, 27008, 27009})
|
storeSkus, _ := dao.GetStoresSkusInfo(db, []int{storeMap.StoreID}, nil)
|
||||||
FreeBatchInfo("uuuuu2", func(task tasksch.ITask, batchedStoreSkuList []*model.StoreSkuBind) (result interface{}, successCount int, err error) {
|
FreeBatchInfo("uuuuu2", func(task tasksch.ITask, batchedStoreSkuList []*model.StoreSkuBind) (result interface{}, successCount int, err error) {
|
||||||
api := jd.GetAPI("320406")
|
api := jd.GetAPI("320406")
|
||||||
var ids []int64
|
var ids []int64
|
||||||
|
|||||||
Reference in New Issue
Block a user