aa
This commit is contained in:
@@ -352,6 +352,7 @@ func onUpdateThing(ctx *jxcontext.Context, db *dao.DaoDB, vendorInfoList []*mode
|
|||||||
updateThingMapEntity(db, thingMap)
|
updateThingMapEntity(db, thingMap)
|
||||||
} else {
|
} else {
|
||||||
if dao.IsNoRowsError(err2) {
|
if dao.IsNoRowsError(err2) {
|
||||||
|
OnCreateThing(ctx, db, vendorInfoList, thingID, thingType, model.SyncFlagNewMask, true)
|
||||||
err2 = nil
|
err2 = nil
|
||||||
} else {
|
} else {
|
||||||
errList.AddErr(err2)
|
errList.AddErr(err2)
|
||||||
|
|||||||
Reference in New Issue
Block a user