This commit is contained in:
sunkaixuan
2018-11-27 00:55:38 +08:00
parent 0df6680397
commit 1e00e7e2f2
4 changed files with 4 additions and 4 deletions

View File

@@ -266,7 +266,7 @@ namespace SqlSugar
method = isNullableType ? getConvertDouble : getDouble; method = isNullableType ? getConvertDouble : getDouble;
else else
method = isNullableType ? getConvertFloat : getFloat; method = isNullableType ? getConvertFloat : getFloat;
if (dbTypeName == "float" && isNullableType && bindProperyTypeName == "single") { if (dbTypeName.Equals("float",StringComparison.CurrentCultureIgnoreCase) && isNullableType && bindProperyTypeName.Equals("single",StringComparison.CurrentCultureIgnoreCase)) {
method = getConvertDoubleToFloat; method = getConvertDoubleToFloat;
} }
break; break;

View File

@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.9.2")] [assembly: AssemblyVersion("4.9.3")]
[assembly: AssemblyFileVersion("4.9.2")] [assembly: AssemblyFileVersion("4.9.3")]

View File

@@ -2,7 +2,7 @@
<package > <package >
<metadata> <metadata>
<id>sqlSugar</id> <id>sqlSugar</id>
<version>4.9.1</version> <version>4.9.3</version>
<title>SqlSugar .Net Framework 4.0+ ORM </title> <title>SqlSugar .Net Framework 4.0+ ORM </title>
<authors>sun kaixuan</authors> <authors>sun kaixuan</authors>
<owners>landa</owners> <owners>landa</owners>