Commit d3f4eebe by Licx

大屏月份返回绩效别名

parent 327bd342
...@@ -48,7 +48,7 @@ public ApiResponse Rank([FromBody] HospitalIdRequest request) ...@@ -48,7 +48,7 @@ public ApiResponse Rank([FromBody] HospitalIdRequest request)
int[] states = new int[] { 6, 8, 10 }; int[] states = new int[] { 6, 8, 10 };
var result = allots?.Where(w => states.Contains(w.States)) var result = allots?.Where(w => states.Contains(w.States))
.Select(w => new { w.Year, w.Month }) .Select(w => new { w.Year, w.Month, w.Name })
.OrderByDescending(w => w.Year) .OrderByDescending(w => w.Year)
.ThenByDescending(w => w.Month); .ThenByDescending(w => w.Month);
......
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