From b0c978129ba55cf81e8470b6c9326745a5dbc7d1 Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期四, 19 十二月 2024 15:26:30 +0800
Subject: [PATCH] 曲线修改

---
 Service/HStation.Service.PhartRelation.Core/05-service/00-core/DbFirstHelper.cs |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Service/HStation.Service.PhartRelation.Core/05-service/00-core/DbFirstHelper.cs b/Service/HStation.Service.PhartRelation.Core/05-service/00-core/DbFirstHelper.cs
index 4580918..19d3524 100644
--- a/Service/HStation.Service.PhartRelation.Core/05-service/00-core/DbFirstHelper.cs
+++ b/Service/HStation.Service.PhartRelation.Core/05-service/00-core/DbFirstHelper.cs
@@ -31,7 +31,7 @@
                         }
                         if (column.DataType == StaticConfig.CodeFirst_BigString)
                         {
-                            if (HStation.Settings.PhartRelationParasHelper.Xhs.DataBase.DbType == HStation.PhartRelation.DbType.PostgreSql)
+                            if (HStation.Settings.PhartRelationParasHelper.PhartRelation.DataBase.DbType == HStation.PhartRelation.DbType.PostgreSql)
                             {
                                 column.DataType = "character varying";
                             }
@@ -43,8 +43,7 @@
                 {
                     typeof(Yw.Entity.PhartDiagram),
                     typeof(Yw.Entity.PhartGraph),
-                    typeof(Entity.XhsPumpMainPhartMapping),
-                    typeof(Entity.XhsValveMainPhartMapping)
+                    typeof(Entity.PhartDiagramRelation)
                 };
 
                 using (var db = new SqlSugarClient(connectConfig))

--
Gitblit v1.9.3