Update MySql

This commit is contained in:
sunkaixuan
2025-06-06 16:59:17 +08:00
parent 242cb0c617
commit 11428a27a4
2 changed files with 10 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
@@ -51,6 +52,14 @@ namespace SqlSugar
{ {
return GetDateTimeOffsetString(value); return GetDateTimeOffsetString(value);
} }
else if (value is decimal decValue)
{
return decValue.ToString(CultureInfo.InvariantCulture);
}
else if (value is double douValue)
{
return douValue.ToString(CultureInfo.InvariantCulture);
}
else if (type == UtilConstants.ByteArrayType) else if (type == UtilConstants.ByteArrayType)
{ {
string bytesString = "0x" + BitConverter.ToString((byte[])value).Replace("-", ""); string bytesString = "0x" + BitConverter.ToString((byte[])value).Replace("-", "");

View File

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