From aac40f9e67e8af80b6120b7c01b07d0bd9c5413e Mon Sep 17 00:00:00 2001 From: yubaolee Date: Fri, 16 Jan 2026 14:40:33 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9Bfix:=20#IDJIPY=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=AD=97=E5=85=B8=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OpenAuth.App/Category/CategoryApp.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenAuth.App/Category/CategoryApp.cs b/OpenAuth.App/Category/CategoryApp.cs index b87b689d..cf82f4b7 100644 --- a/OpenAuth.App/Category/CategoryApp.cs +++ b/OpenAuth.App/Category/CategoryApp.cs @@ -55,7 +55,7 @@ namespace OpenAuth.App var propertyStr = string.Join(',', columnFields.Select(u =>u.ColumnName)); result.ColumnFields = columnFields; - result.Data = objs.OrderBy(u => u.DtCode) + result.Data = objs.OrderBy(u => u.SortNo).OrderBy(u => u.DtCode) .Skip((request.page - 1) * request.limit) .Take(request.limit).Select($"{propertyStr}").ToList(); result.Count = await objs.CountAsync();