This commit is contained in:
yumoqing 2026-03-20 17:23:50 +08:00
parent 861a10e18b
commit 2a02844416

View File

@ -18,7 +18,7 @@ class UserPermisions:
from rolepermission a, permission b, role c from rolepermission a, permission b, role c
where a.permid = b.id where a.permid = b.id
and c.id = a.roleid and c.id = a.roleid
order by a.orgtypeid, a.name""" order by c.orgtypeid, c.name"""
recs = await sor.sqlExe(sql_all, {}) recs = await sor.sqlExe(sql_all, {})
for r in recs: for r in recs:
k = 'anonymous' k = 'anonymous'