Compare commits
2 Commits
5b8733cc9c
...
bc536b5fff
| Author | SHA1 | Date | |
|---|---|---|---|
| bc536b5fff | |||
| 5443064e75 |
@ -450,8 +450,9 @@ async with db.sqlorContext(dbname) as sor:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
tblfields = {{json.dumps([ f.name for f in fields ])}}
|
tblfields = {{json.dumps(fields, ensure_ascii=False)}}
|
||||||
other_keys = [ k for k in ns.keys() if k in tblfields and k != 'id' ]
|
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:
|
if len(other_keys) > 0:
|
||||||
r = await sor.U('{{summary[0].name}}', ns)
|
r = await sor.U('{{summary[0].name}}', ns)
|
||||||
debug('update success');
|
debug('update success');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user