[fix] 修复 resource.WithRolesCondition 方法中的bug

This commit is contained in:
what 2023-04-22 18:05:16 +08:00
parent befa3aa0c7
commit 467d2f5d5b

View File

@ -210,6 +210,7 @@ func (this Resource) WithRolesCondition(b *db.Builder, t string, roles ...string
NewOrmJoin := do.MustInvoke[helper.NewOrmJoin](this.container)
GetResRelationResource := do.MustInvoke[GetResRelationResource](this.container)
GetResRelations := do.MustInvoke[GetResRelations](this.container)
GetResource := do.MustInvoke[contracts.GetResource](this.container)
GetOrmConditionByRes := do.MustInvoke[GetOrmConditionByRes](this.container)