aa
This commit is contained in:
@@ -1844,8 +1844,10 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
|||||||
thingIDmap := make(map[int64]string)
|
thingIDmap := make(map[int64]string)
|
||||||
|
|
||||||
for _, v := range things {
|
for _, v := range things {
|
||||||
vendorThingIDs = append(vendorThingIDs, utils.Str2Int64(v.VendorThingID))
|
if v.VendorThingID != "" {
|
||||||
thingIDmap[utils.Str2Int64(v.VendorThingID)] = utils.Int64ToStr(v.ThingID)
|
vendorThingIDs = append(vendorThingIDs, utils.Str2Int64(v.VendorThingID))
|
||||||
|
thingIDmap[utils.Str2Int64(v.VendorThingID)] = utils.Int64ToStr(v.ThingID)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task := tasksch.NewParallelTask("uuuuu", tasksch.NewParallelConfig().SetIsContinueWhenError(true), ctx,
|
task := tasksch.NewParallelTask("uuuuu", tasksch.NewParallelConfig().SetIsContinueWhenError(true), ctx,
|
||||||
|
|||||||
Reference in New Issue
Block a user