feat:取消系统自带软键盘设计,改为系统自用键盘组件-初步

feat:将打印分为图片打印和命令式打印-初步
This commit is contained in:
dzc committed 2026-09-20 18:24:01 +08:00
1 parent 94ee7415b1
commit e68f41375b
38 files changed
+1471 -408

No files matched your search

@@ -410,6 +410,14 @@ abstract class DatabaseMigration {
);
});
/// 版本14为打印任务补充后端指令流列,指令打印模式可离线重试且不改变出纸内容。
///
/// 列可空且不回填:旧任务与旧后端无指令,指令模式下回退 invoiceUrl 图片打印。
static Migration migration13To14 = Migration(13, 14, (database) async {
await database
.execute('ALTER TABLE print_history ADD COLUMN printCmd TEXT');
});
/// 按起始版本升序返回全部迁移,Floor 打开旧数据库时据此连续升级到当前版本。
static List<Migration> getDatabaseMigrations() {
return [
@@ -425,6 +433,7 @@ abstract class DatabaseMigration {
migration10To11,
migration11To12,
migration12To13,
migration13To14,
];
}
}