From 53f456eb972c6ab09a2356f5aa1faa8235b660b1 Mon Sep 17 00:00:00 2001 From: Marvin Date: Fri, 7 Jul 2023 12:48:01 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E6=B5=81=E7=A8=8B=E7=AB=99?= =?UTF-8?q?=E5=88=AB=E8=A7=84=E5=88=99=E7=BB=B4=E6=8A=A4=EF=BC=8C=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E7=AB=99=E5=88=AB=E6=8E=92=E5=BA=8F=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=3D=E5=88=B6=E7=A8=8B=E4=BB=A3=E7=A0=81+=E7=AB=99=E5=88=AB?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AMESCoreStudio.WebApi/Controllers/BAS/StationsesController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AMESCoreStudio.WebApi/Controllers/BAS/StationsesController.cs b/AMESCoreStudio.WebApi/Controllers/BAS/StationsesController.cs index 85c53f2..2e06fa9 100644 --- a/AMESCoreStudio.WebApi/Controllers/BAS/StationsesController.cs +++ b/AMESCoreStudio.WebApi/Controllers/BAS/StationsesController.cs @@ -39,7 +39,7 @@ namespace AMESCoreStudio.WebApi.Controllers.BAS { IQueryable q = _context.Stationses; q = q.Where(p => p.UnitNo != "0"); - q = q.OrderBy(p => p.StationName); + q = q.OrderBy(p => p.UnitNo + p.StationName); var Stations = await q.ToListAsync();