mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-31 15:56:25 +08:00
-
This commit is contained in:
parent
fb79aa4802
commit
8208baeb0f
@ -86,7 +86,7 @@ namespace SqlSugar
|
||||
if (rowSelector.Body is MemberExpression)
|
||||
rowName = ((MemberExpression)rowSelector.Body).Member.Name;
|
||||
else
|
||||
rowName = "Key";
|
||||
rowName = "Pivot_Group_Keys";
|
||||
var columns = source.Select(columnSelector).Distinct();
|
||||
|
||||
cols = (new[] { rowName }).Concat(columns.Select(x => x.ToString())).ToList();
|
||||
|
Loading…
Reference in New Issue
Block a user