aa
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user