duheng
2024-11-19 ca5f300a7cef85d22b5e0f9d59d117c49f9909b3
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()
                    {