This commit is contained in:
yumoqing 2026-03-24 15:58:54 +08:00
parent 6ad1abd5cf
commit dbafd2cf71

View File

@ -58,7 +58,7 @@ where a.orgid = b.orgid
and a.id = ${userid}$""" and a.id = ${userid}$"""
recs = await sor.sqlExe(sql, {'userid': userid}) recs = await sor.sqlExe(sql, {'userid': userid})
for role in roles: for role in roles:
otid, rname = roles.split('.') otid, rname = role.split('.')
ns = DictObject() ns = DictObject()
if otid != '*': if otid != '*':
ns.otid = otid ns.otid = otid