From 74f7cb1840db9dc031ca1aa3d5db3de04df8b612 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期二, 05 八月 2025 14:54:18 +0800
Subject: [PATCH] pref:优化

---
 FlexJobApi.Core/Utils/PagedListUtils/PagedListUtils.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/FlexJobApi.Core/Utils/PagedListUtils/PagedListUtils.cs b/FlexJobApi.Core/Utils/PagedListUtils/PagedListUtils.cs
index 5bb58e6..0d57bd7 100644
--- a/FlexJobApi.Core/Utils/PagedListUtils/PagedListUtils.cs
+++ b/FlexJobApi.Core/Utils/PagedListUtils/PagedListUtils.cs
@@ -69,14 +69,14 @@
                 if (index == 0)
                 {
                     // 棣栨鎺掑簭
-                    methodName = order.Order == EnumPagedListOrder.Ascending
+                    methodName = order.Order == EnumPagedListOrder.Asc
                         ? "OrderBy"
                         : "OrderByDescending";
                 }
                 else
                 {
                     // 浜屾鍙婁互鍚庢帓搴�
-                    methodName = order.Order == EnumPagedListOrder.Ascending
+                    methodName = order.Order == EnumPagedListOrder.Asc
                         ? "ThenBy"
                         : "ThenByDescending";
                 }

--
Gitblit v1.9.1