按审计编号核对模板写入的原有时序

This commit is contained in:
黄健铭 committed 2026-12-05 19:53:20 -08:00
1 parent 240452d8a1
commit 7ee47d4cbc
1 file changed
+1 -1
+1 -1
View File
@@ -298,7 +298,7 @@ test('保存、更新、删除、重复提交及套用模板不改变任何业
assert.deepEqual(ledger.orderTemplates().rows, []);
assert.deepEqual(financialSnapshot(ledger), baseline);
assert.deepEqual(
ledger.rows("SELECT action FROM audit WHERE entity LIKE 'order-template:%'").map(row => row.action),
ledger.rows("SELECT action FROM audit WHERE entity LIKE 'order-template:%' ORDER BY id").map(row => row.action),
['保存开单模板', '更新开单模板', '删除开单模板'],
);
});