From 8b3c150ccc930e334f787f85db75784a54f08b0f Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期二, 15 十月 2024 14:32:25 +0800
Subject: [PATCH] 性能曲线

---
 Service/HStation.Service.Assets.Core/05-service/00-core/03-helper/DbFirstHelper.cs |   53 +++++++++++++++++++++++++++--------------------------
 1 files changed, 27 insertions(+), 26 deletions(-)

diff --git a/Service/HStation.Service.Assets.Core/05-service/00-core/03-helper/DbFirstHelper.cs b/Service/HStation.Service.Assets.Core/05-service/00-core/03-helper/DbFirstHelper.cs
index c07e1c4..cf680a8 100644
--- a/Service/HStation.Service.Assets.Core/05-service/00-core/03-helper/DbFirstHelper.cs
+++ b/Service/HStation.Service.Assets.Core/05-service/00-core/03-helper/DbFirstHelper.cs
@@ -13,7 +13,7 @@
             msg = string.Empty;
             try
             {
-                var connectConfig = HStation.Assets.ConfigHelper.PostgreSqlConnectionConfig;
+                var connectConfig = HStation.Assets.ConfigHelper.DefaultConnectionConfig;
                 if (connectConfig == null)
                 {
                     msg = "杩炴帴閰嶇疆鍒濆鍖栧け璐�";
@@ -41,31 +41,32 @@
 
                 var typeList = new List<Type>()
                 {
-                   typeof(Entity.PumpGroup),
-                   typeof(Entity.PumpGroupAndMainMap),
-                   typeof(Entity.PumpMain),
-                   typeof(Entity.PumpMainAndPartMap),
-                   typeof(Entity.PumpPartMain),
-                   typeof(Entity.PumpPropContent),
-                   typeof(Entity.PumpSeries),
-                   typeof(Entity.PumpType),
-                   typeof(Entity.ValveMain),
-                   typeof(Entity.ValveSeries),
-                   typeof(Entity.ValveGroupAndMainMap),
-                   typeof(Entity.ValveGroup),
-                   typeof(Entity.AdaptingManage),
-                   typeof(Entity.PipeLineRoughnessCoefficient),
-                   typeof(Entity.PumpTypeSeriesMap),
-                   typeof(Yw.Entity.SysModule),
-                   typeof(Yw.Entity.SysType),
-                   typeof(Yw.Entity.SysCatalog),
-                   typeof(Yw.Entity.SysPropGroup),
-                   typeof(Yw.Entity.SysProp),
-                   typeof(Yw.Entity.SysPropMapping),
-                   typeof(Yw.Entity.SysPropChoice),
-                   typeof(Yw.Entity.SysPropValue),
-                   typeof(Yw.Entity.SysPropValuePure),
-                     };
+                   typeof(Entity.AssetsPumpGroup),
+                   typeof(Entity.AssetsPumpGroupAndMainMap),
+                   typeof(Entity.AssetsPumpMain),
+                   typeof(Entity.AssetsPumpMainAndPartMap),
+                   typeof(Entity.AssetsPumpPartMain),
+                   typeof(Entity.AssetsPumpPropContent),
+                   typeof(Entity.AssetsPumpSeries),
+                   typeof(Entity.AssetsPumpType),
+                   typeof(Entity.AssetsValveMain),
+                   typeof(Entity.AssetsValveSeries),
+                   typeof(Entity.AssetsElbowMain),
+                   typeof(Entity.AssetsElbowSeries),
+                   typeof(Entity.AssetsThreelinkMain),
+                   typeof(Entity.AssetsThreelinkSeries),
+                   typeof(Entity.AssetsFourlinkMain),
+                   typeof(Entity.AssetsFourlinkSeries),
+                   typeof(Entity.AssetsPipeMain),
+                   typeof(Entity.AssetsPipeSeries),
+                   typeof(Entity.AssetsSprinklerMain),
+                   typeof(Entity.AssetsSprinklerSeries),
+                   typeof(Entity.AssetsManufacturer),
+                   typeof(Entity.AssetsManufacturerMapping),
+                   typeof(Entity.AssetsUserDefined),
+                   typeof(Entity.AssetsPipeRoughnessCoefficient),
+                   typeof(Entity.AssetsPumpTypeSeriesMap),
+                       };
 
                 using (var db = new SqlSugarClient(connectConfig))
                 {

--
Gitblit v1.9.3