新增业务打印绑定功能,整合打印模板与业务数据的映射配置,优化打印数据生成逻辑。新增免密接口,支持桌面端打印模板的查询与列表展示,提升用户体验和系统的实时数据同步能力。同时,重构相关控制器以增强系统的可维护性和扩展性。

This commit is contained in:
geht
2026-05-14 10:43:51 +08:00
parent 642cecb04d
commit 8bcc34aee0
649 changed files with 18804 additions and 70 deletions

View File

@@ -78,7 +78,9 @@ public class SyncModule : IModule
// 打印服务PrintDot 桥接器 + 打印模板(含 STOMP 实时同步 + 本地缓存)
containerRegistry.RegisterSingleton<IPrintDotService, PrintDotService>();
containerRegistry.RegisterSingleton<IPrintTemplateService, PrintTemplateService>();
containerRegistry.RegisterSingleton<IPrintBizTemplateBindService, PrintBizTemplateBindService>();
containerRegistry.RegisterSingleton<PrintTemplateSyncCoordinator>();
containerRegistry.RegisterSingleton<PrintBizTemplateBindSyncCoordinator>();
var serviceCollection = new ServiceCollection();
serviceCollection.AddTransient<DisconnectGuardHandler>();
@@ -147,6 +149,7 @@ public class SyncModule : IModule
_ = containerProvider.Resolve<DictSyncCoordinator>();
// 强制实例化打印模板同步协调器
_ = containerProvider.Resolve<PrintTemplateSyncCoordinator>();
_ = containerProvider.Resolve<PrintBizTemplateBindSyncCoordinator>();
}
private static IAsyncPolicy<HttpResponseMessage> GetRetryPolicy()