From 0cd48df8ccca96a8a0117a508c342a90dc2eacb8 Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期五, 08 十一月 2024 13:07:43 +0800
Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0

---
 Service/HStation.Service.Assets.Core/05-service/00-core/03-helper/DbFirstHelper.cs |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 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 cf680a8..ba49632 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
@@ -31,7 +31,7 @@
                         }
                         if (column.DataType == StaticConfig.CodeFirst_BigString)
                         {
-                            if (Settings.Assets.XhsParasHelper.Xhs.DataBase.DbType == HStation.Assets.DbType.PostgreSql)
+                            if (Settings.AssetsParasHelper.Assets.DataBase.DbType == HStation.Assets.DbType.PostgreSql)
                             {
                                 column.DataType = "character varying";
                             }
@@ -64,8 +64,19 @@
                    typeof(Entity.AssetsManufacturer),
                    typeof(Entity.AssetsManufacturerMapping),
                    typeof(Entity.AssetsUserDefined),
-                   typeof(Entity.AssetsPipeRoughnessCoefficient),
+                   typeof(Entity.AssetsPipeLineCoefficient),
                    typeof(Entity.AssetsPumpTypeSeriesMap),
+                    typeof(Entity.AssetsExchangerMain),
+                    typeof(Entity.AssetsExchangerMainAndPartMap),
+                    typeof(Entity.AssetsExchangerPartMain),
+                    typeof(Entity.AssetsExchangerPropContent),
+                    typeof(Entity.AssetsExchangerSeries),
+                    typeof(Entity.AssetsCompressorPartMain),
+                    typeof(Entity.AssetsCompressorMain),
+                    typeof(Entity.AssetsCompressorMainAndPartMap),
+                    typeof(Entity.AssetsCompressorPropContent),
+                    typeof(Entity.AssetsCompressorSeries),
+                     typeof(Entity.AssetsValveCoefficient),
                        };
 
                 using (var db = new SqlSugarClient(connectConfig))

--
Gitblit v1.9.3