From 1d61b45846ac2e5cb0a8366365613c44c1319289 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期三, 26 三月 2025 18:06:17 +0800 Subject: [PATCH] 优化收货单上架行数量判断 --- Tiger.Api/ApiWebHostService.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Tiger.Api/ApiWebHostService.cs b/Tiger.Api/ApiWebHostService.cs index be53ff7..3c6a088 100644 --- a/Tiger.Api/ApiWebHostService.cs +++ b/Tiger.Api/ApiWebHostService.cs @@ -7,6 +7,7 @@ using Rhea.Common; using Tiger.IBusiness; using System.ServiceProcess; +using Tiger.Api.DbCache; namespace Tiger.Api { @@ -55,9 +56,10 @@ //鍏抽棴鏈嶅姟鎬荤嚎 DI.Resolve<IServicesBus>().StopServices(); //鍏抽棴DB缂撳瓨鑷姩鏇存柊 - DI.Resolve<IDbCacheBus>().StopAutoUpdate(); + //DI.Resolve<IDbCacheBus>().StopAutoUpdate(); + DbCacheBus.StopAutoUpdate(); //MQTTHelper.MQTTConn?.Close(); - base.OnStopping(); + base.OnStopping(); } catch (System.Exception ex) { -- Gitblit v1.9.3