Update mysql

This commit is contained in:
sunkaixuan
2025-09-18 18:43:53 +08:00
parent 0e95241849
commit 13f19c76a2
2 changed files with 3 additions and 3 deletions

View File

@@ -177,11 +177,11 @@ namespace SqlSugar
}
else if (value is decimal decValue)
{
return decValue.ToString(CultureInfo.InvariantCulture);
return "'"+decValue.ToString(CultureInfo.InvariantCulture)+"'";
}
else if (value is double douValue)
{
return douValue.ToString(CultureInfo.InvariantCulture);
return "'" + douValue.ToString(CultureInfo.InvariantCulture) + "'";
}
else if (type == UtilConstants.BoolType)
{

View File

@@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugarCore</id>
<version>5.1.4.203-preview20</version>
<version>5.1.4.203-preview25</version>
<authors>sunkaixuan</authors>
<owners>果糖大数据科技</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>