From a34fb79bd103ac6f4e138166832e9458c159bf4a Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Thu, 6 Jul 2017 15:25:15 +0800 Subject: [PATCH] MySql BOOL BUG --- .../src/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs | 4 ++++ .../SqlServerTest/src/SqlSugar/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Src/Asp.NetCore/SqlServerTest/src/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs b/Src/Asp.NetCore/SqlServerTest/src/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs index 1bf344f43..4c2407b99 100644 --- a/Src/Asp.NetCore/SqlServerTest/src/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs +++ b/Src/Asp.NetCore/SqlServerTest/src/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs @@ -67,6 +67,10 @@ namespace SqlSugar { this.DbType = System.Data.DbType.Single; } + else if (type == PubConst.BoolType) + { + this.DbType = System.Data.DbType.Boolean; + } } public SugarParameter(string name, object value, bool isOutput) { diff --git a/Src/Asp.NetCore/SqlServerTest/src/SqlSugar/Properties/AssemblyInfo.cs b/Src/Asp.NetCore/SqlServerTest/src/SqlSugar/Properties/AssemblyInfo.cs index 55ac065d4..8ab583cf8 100644 --- a/Src/Asp.NetCore/SqlServerTest/src/SqlSugar/Properties/AssemblyInfo.cs +++ b/Src/Asp.NetCore/SqlServerTest/src/SqlSugar/Properties/AssemblyInfo.cs @@ -17,5 +17,5 @@ using System.Runtime.InteropServices; // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("1c022a5c-4e4d-4026-a8a3-f659b9740a1a")] -[assembly: AssemblyVersion("4.1.1.1")] -[assembly: AssemblyFileVersion("4.1.1.1")] +[assembly: AssemblyVersion("4.1.1.2")] +[assembly: AssemblyFileVersion("4.1.1.2")]