Compare commits

...

2 Commits

Author SHA1 Message Date
bc536b5fff bugfix 2026-06-26 13:44:15 +08:00
5443064e75 bugfix 2026-06-26 13:41:22 +08:00

View File

@ -450,8 +450,9 @@ async with db.sqlorContext(dbname) as sor:
}
}
{% endif %}
tblfields = {{json.dumps([ f.name for f in fields ])}}
other_keys = [ k for k in ns.keys() if k in tblfields and k != 'id' ]
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 tblfnmae and k != 'id' ]
if len(other_keys) > 0:
r = await sor.U('{{summary[0].name}}', ns)
debug('update success');