alpha环境启用isUseThingMap
This commit is contained in:
@@ -168,7 +168,7 @@ func OnCreateThing(ctx *jxcontext.Context, db *dao.DaoDB, thingID int64, thingTy
|
||||
dao.WrapAddIDCULDEntity(thingMap, ctx.GetUserName())
|
||||
errList.AddErr(dao.CreateEntity(db, thingMap))
|
||||
}
|
||||
if model.IsUseThingMap {
|
||||
if globals.IsUseThingMap {
|
||||
err = errList.GetErrListAsOne()
|
||||
}
|
||||
return err
|
||||
@@ -196,7 +196,7 @@ func OnUpdateThing(ctx *jxcontext.Context, db *dao.DaoDB, thingID int64, thingTy
|
||||
errList.AddErr(err2)
|
||||
}
|
||||
}
|
||||
if model.IsUseThingMap {
|
||||
if globals.IsUseThingMap {
|
||||
err = errList.GetErrListAsOne()
|
||||
}
|
||||
return err
|
||||
@@ -229,7 +229,7 @@ func OnDeleteThing(ctx *jxcontext.Context, db *dao.DaoDB, thingID int64, thingTy
|
||||
errList.AddErr(err2)
|
||||
}
|
||||
}
|
||||
if model.IsUseThingMap {
|
||||
if globals.IsUseThingMap {
|
||||
err = errList.GetErrListAsOne()
|
||||
}
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user