duheng
2024-12-24 ea882c1741812b0783b2924548cb9e8c638a1be9
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()
                    {