From efcdd40773c60eba8a1efeb86bf592668d669456 Mon Sep 17 00:00:00 2001 From: "610262374@qq.com" <610262374@qq.com> Date: Mon, 15 Oct 2018 18:38:53 +0800 Subject: [PATCH] 4.8 BUG --- .../SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {