This commit is contained in:
yumoqing 2026-06-26 13:41:22 +08:00
parent 5b8733cc9c
commit 5443064e75

View File

@ -450,7 +450,8 @@ async with db.sqlorContext(dbname) as sor:
}
}
{% endif %}
tblfields = {{json.dumps([ f.name for f in fields ])}}
tblfields = {{json.dumps(fields, ensure_ascii=False)}}
tblfname = [ f.name for f in tblfields.keys() ]
other_keys = [ k for k in ns.keys() if k in tblfields and k != 'id' ]
if len(other_keys) > 0:
r = await sor.U('{{summary[0].name}}', ns)