From 4ff56211fc609419efb1f8c15b1d684d72294ddc Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期二, 05 八月 2025 18:04:29 +0800 Subject: [PATCH] feat:角色开发 --- FlexJobApi.Core/Utils/PagedListUtils/PagedListUtils.cs | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/FlexJobApi.Core/Utils/PagedListUtils/PagedListUtils.cs b/FlexJobApi.Core/Utils/PagedListUtils/PagedListUtils.cs index 5bb58e6..402f2aa 100644 --- a/FlexJobApi.Core/Utils/PagedListUtils/PagedListUtils.cs +++ b/FlexJobApi.Core/Utils/PagedListUtils/PagedListUtils.cs @@ -1,5 +1,4 @@ -锘縰sing FlexJobApi.User.Application; -using Furion.DatabaseAccessor; +锘縰sing Furion.DatabaseAccessor; using Furion.FriendlyException; using Mapster; using System; @@ -69,14 +68,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