Shuxia Ning
2024-12-17 33b5627e2d1092f6931165b7f9f1a16de65d765d
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))