mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-20 06:59:34 +08:00
Update ToPivotList
This commit is contained in:
parent
932dd36ab6
commit
3a5a37f338
@ -99,7 +99,7 @@ namespace SqlSugar
|
||||
.Select(x => row[x.Key] = x.Value)
|
||||
.SelectMany(x => properties, (x, y) => row[y.Name] = y.GetValue(rowGroup.Key, null))
|
||||
.ToList();
|
||||
return row;
|
||||
return row.OrderBy(it=> rowName.Contains(it.Key)?0:1);
|
||||
});
|
||||
return rows;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user