@ -636,10 +636,17 @@ namespace SqlSugar
foreach (var item in inValues)
{
if (item != null)
if (UtilMethods.IsNumber(item.GetType().Name))
values.Add(item.ToString());
}
else
values.Add(item.ToString().ToSqlValue());
this.Where(string.Format(QueryBuilder.InTemplate, filed, string.Join(",", values)));