微调

parent cf452582
......@@ -77,7 +77,7 @@ public ApiResponse GetCollectSheet(int hospitalId)
.ToList();
//result?.Add(new { SheetType = -1, SheetName = "预留比例" });
if (result == null || !result.Any()) return new ApiResponse(ResponseType.OK, result);
if (result == null || !result.Any()) return new ApiResponse(ResponseType.OK, "", new List<string>());
result = result.OrderBy(w => regex.IsMatch(w.SheetName) ? w.SheetName : $"0{w.SheetName}")
.ThenBy(w => w.SheetType)
......
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