diff --git a/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs b/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs index 23379cebc..c37537820 100644 --- a/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs +++ b/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs @@ -191,7 +191,7 @@ namespace SqlSugar Where(SqlBuilder.SqlFalse); return this; } - if (pkValues.Length == 1&& pkValues.First() is IEnumerable) { + if (pkValues.Length == 1&& pkValues.First().GetType().FullName.IsCollectionsList()) { var newValues =new List(); foreach (var item in pkValues.First() as IEnumerable) {