aa
This commit is contained in:
@@ -350,10 +350,14 @@ func onUpdateThing(ctx *jxcontext.Context, db *dao.DaoDB, vendorInfoList []*mode
|
|||||||
errList.AddErr(err2)
|
errList.AddErr(err2)
|
||||||
|
|
||||||
updateThingMapEntity(db, thingMap)
|
updateThingMapEntity(db, thingMap)
|
||||||
|
} else {
|
||||||
|
if dao.IsNoRowsError(err2) {
|
||||||
|
err2 = nil
|
||||||
} else {
|
} else {
|
||||||
errList.AddErr(err2)
|
errList.AddErr(err2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
err = errList.GetErrListAsOne()
|
err = errList.GetErrListAsOne()
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user