Update List.Any BUG caused by Microsoft BUG

This commit is contained in:
sunkaixuan
2024-01-09 13:32:21 +08:00
parent 80950a10c2
commit 9bf7ba3af1

View File

@@ -1030,7 +1030,7 @@ namespace SqlSugar
var newValue = "null";
if (value != null)
{
if (UtilMethods.IsNumber(columnInfo.UnderType.Name))
if (columnInfo.DbTableName!= "String" && UtilMethods.IsNumber(columnInfo.UnderType.Name))
{
newValue = value.ToString();
}