From 5caad95f134de374d4f0623ccfa78b0a99dbc293 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Thu, 6 Jul 2017 15:30:44 +0800 Subject: [PATCH] MYSQL BIT BUG --- .../SqlSugar/ExpressionsToSql/Common/SugarParameter.cs | 4 ++++ Src/Asp.Net/SqlSugar/Properties/AssemblyInfo.cs | 4 ++-- .../SqlServerTest/src/SqlSugar/SqlSugarForCore.nuspec | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs b/Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs index 630c8321e..5705240c0 100644 --- a/Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs +++ b/Src/Asp.Net/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.Net/SqlSugar/Properties/AssemblyInfo.cs b/Src/Asp.Net/SqlSugar/Properties/AssemblyInfo.cs index fc09914ca..bc8ff97ea 100644 --- a/Src/Asp.Net/SqlSugar/Properties/AssemblyInfo.cs +++ b/Src/Asp.Net/SqlSugar/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("4.1.1.1")] -[assembly: AssemblyFileVersion("4.1.1.1")] +[assembly: AssemblyVersion("4.1.1.2")] +[assembly: AssemblyFileVersion("4.1.1.2")] diff --git a/Src/Asp.NetCore/SqlServerTest/src/SqlSugar/SqlSugarForCore.nuspec b/Src/Asp.NetCore/SqlServerTest/src/SqlSugar/SqlSugarForCore.nuspec index 4944f0032..c6e3f5750 100644 --- a/Src/Asp.NetCore/SqlServerTest/src/SqlSugar/SqlSugarForCore.nuspec +++ b/Src/Asp.NetCore/SqlServerTest/src/SqlSugar/SqlSugarForCore.nuspec @@ -2,7 +2,7 @@ sqlSugarCore - 4.1.1.1 + 4.1.1.2 sunkaixuan Landa http://www.apache.org/licenses/LICENSE-2.0.html @@ -25,6 +25,6 @@ - + \ No newline at end of file