From 3b97a08078a87e7409f77ffe9ba5460ae266275c Mon Sep 17 00:00:00 2001 From: wet <1034391973@qq.com> Date: Thu, 18 May 2023 17:09:44 +0800 Subject: [PATCH] 1 --- Myshipping.Core/Service/User/SysUserService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Myshipping.Core/Service/User/SysUserService.cs b/Myshipping.Core/Service/User/SysUserService.cs index 45404c4e..23a5bed6 100644 --- a/Myshipping.Core/Service/User/SysUserService.cs +++ b/Myshipping.Core/Service/User/SysUserService.cs @@ -77,7 +77,7 @@ public class SysUserService : ISysUserService, IDynamicApiController, ITransient o.Pids.Contains(pid.Trim())) .WhereIF(Enum.IsDefined(typeof(CommonStatus), input.SearchStatus), (u, e, o) => u.Status == input.SearchStatus) .Where((u, e, o) => u.AdminType == AdminType.None) - .Select("u.*,t.Name As TenantName ").ToDataFilter("u", "Id", FilterType.User).OrderByDescending(u => u.Name) + .Select("u.*,t.Name As TenantName ").ToDataFilter("u", "Id", FilterType.User) .OrderBy(PageInputOrder.OrderBuilder(input.SortField, input.DescSort)). ToPagedListAsync(input.PageNo, input.PageSize);