From 91177132b524b6b81dd9f81c9b49e65ef17eec53 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期二, 08 十月 2024 11:35:18 +0800
Subject: [PATCH] 优化资产表

---
 Service/HStation.Service.Assets.Core/05-service/00-core/03-helper/DbFirstHelper.cs |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 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 1bd20ab..8e7fc4e 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 = "杩炴帴閰嶇疆鍒濆鍖栧け璐�";
@@ -51,9 +51,16 @@
                    typeof(Entity.PumpType),
                    typeof(Entity.ValveMain),
                    typeof(Entity.ValveSeries),
-                   typeof(Entity.PipeLineManage),
-                   typeof(Entity.ValveGroupAndMainMap),
-                   typeof(Entity.ValveGroup),
+                   typeof(Entity.ElbowMain),
+                   typeof(Entity.ElbowSeries),
+                   typeof(Entity.ThreeLinkMain),
+                   typeof(Entity.ThreeLinkSeries),
+                   typeof(Entity.FourLinkMain),
+                   typeof(Entity.FourLinkSeries),
+                   typeof(Entity.PipeLineMain),
+                   typeof(Entity.PipeLineSeries),
+                    typeof(Entity.NozzleMain),
+                   typeof(Entity.NozzleSeries),
                    typeof(Entity.AdaptingManage),
                    typeof(Entity.PipeLineRoughnessCoefficient),
                    typeof(Entity.PumpTypeSeriesMap),
@@ -65,8 +72,7 @@
                    typeof(Yw.Entity.SysPropMapping),
                    typeof(Yw.Entity.SysPropChoice),
                    typeof(Yw.Entity.SysPropValue),
-                   typeof(Yw.Entity.SysPropValuePure),
-                     };
+                      };
 
                 using (var db = new SqlSugarClient(connectConfig))
                 {

--
Gitblit v1.9.3