feat:添加用户排序
This commit is contained in:
@@ -66,6 +66,7 @@ namespace Yi.Framework.Rbac.Application.Services.System
|
|||||||
|
|
||||||
|
|
||||||
.LeftJoin<DeptEntity>((user, dept) => user.DeptId == dept.Id)
|
.LeftJoin<DeptEntity>((user, dept) => user.DeptId == dept.Id)
|
||||||
|
.OrderByDescending(x=>x.CreationTime)
|
||||||
.Select((user, dept) => new UserGetListOutputDto(), true)
|
.Select((user, dept) => new UserGetListOutputDto(), true)
|
||||||
.ToPageListAsync(input.SkipCount, input.MaxResultCount, total);
|
.ToPageListAsync(input.SkipCount, input.MaxResultCount, total);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user