Commit 0f429ee0 by lcx

排序修改

parent 05c1a203
......@@ -113,7 +113,7 @@ public List<AllotResponse> GetAllotList(int? hospitalId)
});
if (result != null && result.Any())
{
result = result.OrderByDescending(t => t.Year).OrderByDescending(t => t.Month).ToList();
result = result.OrderByDescending(t => t.Year).ThenByDescending(t => t.Month).ToList();
}
return result;
}
......
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