bugfix
This commit is contained in:
parent
6e7098a3ef
commit
877c7bbe19
@ -24,7 +24,7 @@ where a.id = b.userid
|
||||
and c.name = ${name}$"""
|
||||
recs = await sor.sqlExe(sql, {
|
||||
'userid': userid,
|
||||
'orgtypeid': orgypeid,
|
||||
'orgtypeid': orgtypeid,
|
||||
'name': name
|
||||
})
|
||||
if recs:
|
||||
@ -32,7 +32,7 @@ where a.id = b.userid
|
||||
ns = DictObject()
|
||||
ns.id = getID()
|
||||
roles = await sor.R('role', {
|
||||
'orgtypeid': orgypeid,
|
||||
'orgtypeid': orgtypeid,
|
||||
'name': name
|
||||
})
|
||||
if not roles:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user