|
|
@ -77,7 +77,7 @@ public class SysUserService : ISysUserService, IDynamicApiController, ITransient
|
|
|
|
o.Pids.Contains(pid.Trim()))
|
|
|
|
o.Pids.Contains(pid.Trim()))
|
|
|
|
.WhereIF(Enum.IsDefined(typeof(CommonStatus), input.SearchStatus), (u, e, o) => u.Status == input.SearchStatus)
|
|
|
|
.WhereIF(Enum.IsDefined(typeof(CommonStatus), input.SearchStatus), (u, e, o) => u.Status == input.SearchStatus)
|
|
|
|
.Where((u, e, o) => u.AdminType == AdminType.None)
|
|
|
|
.Where((u, e, o) => u.AdminType == AdminType.None)
|
|
|
|
.Select<UserOutput>("u.*,t.Name As TenantName ").ToDataFilter("u", "Id", FilterType.User).OrderByDescending(u => u.Name)
|
|
|
|
.Select<UserOutput>("u.*,t.Name As TenantName ").ToDataFilter("u", "Id", FilterType.User)
|
|
|
|
.OrderBy(PageInputOrder.OrderBuilder(input.SortField, input.DescSort)).
|
|
|
|
.OrderBy(PageInputOrder.OrderBuilder(input.SortField, input.DescSort)).
|
|
|
|
ToPagedListAsync(input.PageNo, input.PageSize);
|
|
|
|
ToPagedListAsync(input.PageNo, input.PageSize);
|
|
|
|
|
|
|
|
|
|
|
|