bugfix
This commit is contained in:
parent
e8037bb16f
commit
3b5ef09c3c
@ -57,7 +57,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']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user