Fix bug for demand

This commit is contained in:
WQY\qiong
2022-12-17 09:50:53 +08:00
parent fde25105d7
commit 4238a550f9

View File

@@ -73,9 +73,9 @@ def set_demand_cache(name: str, cs: ChangeSet) -> DbChangeSet:
undo_sql += '\n'
undo_sql += _undo_sql
redo_cs.append(cache.redo_cs)
redo_cs += cache.redo_cs
undo_cs.append(cache.undo_cs)
undo_cs += cache.undo_cs
undo_cs.reverse()
return DbChangeSet(redo_sql, undo_sql, redo_cs, undo_cs)