From cae9e1ebdb3f65c75aba5f703c97a857c6e44f38 Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期一, 13 一月 2025 16:00:15 +0800 Subject: [PATCH] 阀门图表导入bug 修复 --- Service/HStation.Service.Assets.Core/00-core/ConfigHelper.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/00-core/ConfigHelper.cs b/Service/HStation.Service.Assets.Core/00-core/ConfigHelper.cs index 9f4fa11..d0ac06f 100644 --- a/Service/HStation.Service.Assets.Core/00-core/ConfigHelper.cs +++ b/Service/HStation.Service.Assets.Core/00-core/ConfigHelper.cs @@ -10,7 +10,7 @@ get { ConnectionConfig connectConfig = null; - switch (XhsParasHelper.Xhs.DataBase.DbType) + switch (AssetsParasHelper.Assets.DataBase.DbType) { case DbType.PostgreSql: { @@ -41,7 +41,7 @@ return new ConnectionConfig() { DbType = SqlSugar.DbType.PostgreSQL,//鏁版嵁搴撶被鍨� - ConnectionString = XhsParasHelper.Xhs.DataBase.PostgreSql.ConnectString, + ConnectionString = HStation.Settings.AssetsParasHelper.Assets.DataBase.PostgreSql.ConnectString, IsAutoCloseConnection = true,//鏄惁鑷姩鍏抽棴 MoreSettings = new ConnMoreSettings() { @@ -71,7 +71,7 @@ return new ConnectionConfig() { DbType = SqlSugar.DbType.Sqlite,//鏁版嵁搴撶被鍨� - ConnectionString = XhsParasHelper.Xhs.DataBase.SQLite.ConnectString, + ConnectionString = AssetsParasHelper.Assets.DataBase.SQLite.ConnectString, IsAutoCloseConnection = true,//鏄惁鑷姩鍏抽棴 MoreSettings = new ConnMoreSettings() { -- Gitblit v1.9.3