From 100b5ecb418bf6839e47b428e346ad5f6e778d1b Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期二, 05 八月 2025 15:04:41 +0800 Subject: [PATCH] feat:角色 --- 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