From e411302bca8857e102443a5250c82b9580ef07a3 Mon Sep 17 00:00:00 2001 From: duheng <2286773002@qq.com> Date: 星期五, 28 三月 2025 10:49:48 +0800 Subject: [PATCH] 修改成套设备增加逻辑 --- Service/HStation.Service.PhartRelation.Core/05-service/00-core/DbFirstHelper.cs | 7 +++---- 1 files changed, 3 insertions(+), 4 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 a2376c3..963f5d2 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 @@ -13,7 +13,7 @@ msg = string.Empty; try { - var connectConfig = HStation.PhartRelation.ConfigHelper.PostgreSqlConnectionConfig; + var connectConfig = HStation.PhartRelation.ConfigHelper.DefaultConnectionConfig; if (connectConfig == null) { msg = "杩炴帴閰嶇疆鍒濆鍖栧け璐�"; @@ -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