This commit is contained in:
苏尹岚
2021-03-01 17:15:45 +08:00
parent af45ed3350
commit 38f5f58644
2 changed files with 6 additions and 2 deletions

View File

@@ -352,7 +352,6 @@ func onUpdateThing(ctx *jxcontext.Context, db *dao.DaoDB, vendorInfoList []*mode
updateThingMapEntity(db, thingMap)
} else {
if dao.IsNoRowsError(err2) {
OnCreateThing(ctx, db, vendorInfoList, thingID, thingType, model.SyncFlagNewMask, true)
err2 = nil
} else {
errList.AddErr(err2)