This commit is contained in:
苏尹岚
2021-03-01 17:10:38 +08:00
parent ada5d570b8
commit af45ed3350

View File

@@ -352,6 +352,7 @@ 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)