!删除IsUseThingMap

This commit is contained in:
gazebo
2020-01-17 16:09:52 +08:00
parent 0fffdfdd76
commit 3e89a07a96
10 changed files with 45 additions and 301 deletions

View File

@@ -257,9 +257,7 @@ func OnCreateThing(ctx *jxcontext.Context, db *dao.DaoDB, vendorInfoList []*Mult
}
updateThingMapEntity(db, thingMap)
}
if globals.IsUseThingMap {
err = errList.GetErrListAsOne()
}
err = errList.GetErrListAsOne()
return err
}
@@ -290,9 +288,7 @@ func onUpdateThing(ctx *jxcontext.Context, db *dao.DaoDB, vendorInfoList []*Mult
errList.AddErr(err2)
}
}
if globals.IsUseThingMap {
err = errList.GetErrListAsOne()
}
err = errList.GetErrListAsOne()
return err
}
@@ -332,9 +328,7 @@ func OnDeleteThing(ctx *jxcontext.Context, db *dao.DaoDB, vendorInfoList []*Mult
errList.AddErr(err2)
}
}
if globals.IsUseThingMap {
err = errList.GetErrListAsOne()
}
err = errList.GetErrListAsOne()
return err
}