Commit 2ed59b4b by lcx

info 返回内容增加排序

parent f7e90ff6
......@@ -38,7 +38,7 @@ public List<ReportData> GetReportsInfo()
if (reports == null || !reports.Any()) return new List<ReportData>();
var result = new List<ReportData>();
foreach (var item in reports)
foreach (var item in reports.OrderBy(t => t.Sort))
{
result.Add(new ReportData(item));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment