Compare commits

..

No commits in common. "d8b57bc6d21e8e5b32cb58e074cba074d7ed6e30" and "c7412fc2f79a1de7ae680770c91d9eb2b211a363" have entirely different histories.

View File

@ -3,8 +3,7 @@ async def delpermission(ns):
async with db.sqlorContext('kboss') as sor:
if ns:
ns['del_flg'] = '1'
update_sql = """update permission set del_flg = '1' where id = '%s'""" % ns['id']
await sor.sqlExe(update_sql, {})
await sor.U('permission', ns)
dictns = {'parentid': ns['id']}
reacs = await sor.R('permission', dictns)
for i in reacs: