bugfix
This commit is contained in:
parent
d03b45962f
commit
362fe4db6b
@ -88,7 +88,7 @@ async def create_user(sor, ns, roles=[]):
|
|||||||
for rt in roles:
|
for rt in roles:
|
||||||
sql = "select * from role where orgtypeid = ${otid}$ and name in ${roles}$)"
|
sql = "select * from role where orgtypeid = ${otid}$ and name in ${roles}$)"
|
||||||
recs = await sor.sqlExe(sql, {
|
recs = await sor.sqlExe(sql, {
|
||||||
'otid': rt['orgtypeid',
|
'otid': rt['orgtypeid'],
|
||||||
'roles': rt['roles']
|
'roles': rt['roles']
|
||||||
})
|
})
|
||||||
for r in recs:
|
for r in recs:
|
||||||
|
Loading…
Reference in New Issue
Block a user