From 57489d196ef57aeb8deccc609ac536bc86d906aa Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Wed, 10 May 2023 11:14:42 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=20Pg=20&=20=20=E9=87=91=E4=BB=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Asp.Net/SqlSugar/Realization/Kdbndp/DbBind/KdbndpBind.cs | 1 + .../SqlSugar/Realization/PostgreSQL/DbBind/PostgreSQLDbBind.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/Src/Asp.Net/SqlSugar/Realization/Kdbndp/DbBind/KdbndpBind.cs b/Src/Asp.Net/SqlSugar/Realization/Kdbndp/DbBind/KdbndpBind.cs index 78b322ddf..8919313e3 100644 --- a/Src/Asp.Net/SqlSugar/Realization/Kdbndp/DbBind/KdbndpBind.cs +++ b/Src/Asp.Net/SqlSugar/Realization/Kdbndp/DbBind/KdbndpBind.cs @@ -66,6 +66,7 @@ namespace SqlSugar public static List> MappingTypesConst = new List>(){ new KeyValuePair("int2",CSharpDataType.@short), + new KeyValuePair("int1",CSharpDataType.@byte), new KeyValuePair("smallint",CSharpDataType.@short), new KeyValuePair("int4",CSharpDataType.@int), new KeyValuePair("integer",CSharpDataType.@int), diff --git a/Src/Asp.Net/SqlSugar/Realization/PostgreSQL/DbBind/PostgreSQLDbBind.cs b/Src/Asp.Net/SqlSugar/Realization/PostgreSQL/DbBind/PostgreSQLDbBind.cs index a8f3561b1..cb68b5adb 100644 --- a/Src/Asp.Net/SqlSugar/Realization/PostgreSQL/DbBind/PostgreSQLDbBind.cs +++ b/Src/Asp.Net/SqlSugar/Realization/PostgreSQL/DbBind/PostgreSQLDbBind.cs @@ -82,6 +82,7 @@ namespace SqlSugar public static List> MappingTypesConst = new List>(){ new KeyValuePair("int2",CSharpDataType.@short), + new KeyValuePair("int1",CSharpDataType.@byte), new KeyValuePair("smallint",CSharpDataType.@short), new KeyValuePair("int4",CSharpDataType.@int), new KeyValuePair("serial",CSharpDataType.@int),