lixiaojun
2024-12-19 c7527abc7ade5b4552e39541f739bdb69209f8ba
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()
                    {