gy灵异
This commit is contained in:
@@ -138,12 +138,14 @@ func SyncStoreCategories(ctx *jxcontext.Context, parentTask tasksch.ITask, vendo
|
|||||||
}
|
}
|
||||||
task.AddFailedList(failedList)
|
task.AddFailedList(failedList)
|
||||||
}
|
}
|
||||||
|
fmt.Println("2222222222222222222222222222222222222222222222")
|
||||||
if err == nil {
|
if err == nil {
|
||||||
if vendorID == model.VendorIDMTWM {
|
if vendorID == model.VendorIDMTWM {
|
||||||
refutil.SetObjFieldByName(storeCatMap, idFieldName, catInfo.VendorCatID)
|
refutil.SetObjFieldByName(storeCatMap, idFieldName, catInfo.VendorCatID)
|
||||||
} else {
|
} else {
|
||||||
refutil.SetObjFieldByName(storeCatMap, idFieldName, utils.Str2Int64WithDefault(catInfo.VendorCatID, 0))
|
refutil.SetObjFieldByName(storeCatMap, idFieldName, utils.Str2Int64WithDefault(catInfo.VendorCatID, 0))
|
||||||
}
|
}
|
||||||
|
fmt.Println("11111111111111111111111111111111111111111111111111111111111")
|
||||||
_, err = dao.UpdateEntity(db, storeCatMap, updateFields...)
|
_, err = dao.UpdateEntity(db, storeCatMap, updateFields...)
|
||||||
}
|
}
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|||||||
Reference in New Issue
Block a user