This commit is contained in:
yumoqing 2025-07-28 16:27:28 +08:00
parent e8037bb16f
commit 3b5ef09c3c

View File

@ -57,7 +57,7 @@ async def create_user(sor, ns, 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, {
'otid': rt['orgtypeid'],
'roles': rt['roles']