This commit is contained in:
sunkaixuan 2025-03-31 17:59:26 +08:00
parent 7353e5a0d9
commit c1cd0c6122

View File

@ -173,6 +173,10 @@ namespace SqlSugar
{ {
return "'" + value.ToString().ToSqlFilter() + "'"; return "'" + value.ToString().ToSqlFilter() + "'";
} }
else if (value is decimal v)
{
return v.ToString(CultureInfo.InvariantCulture);
}
else else
{ {
return "'" + value.ToString() + "'"; return "'" + value.ToString() + "'";