feat:添加用户排序

This commit is contained in:
陈淳
2024-01-11 10:20:39 +08:00
parent c3f74b8dc2
commit e394726eef

View File

@@ -66,6 +66,7 @@ namespace Yi.Framework.Rbac.Application.Services.System
.LeftJoin<DeptEntity>((user, dept) => user.DeptId == dept.Id)
.OrderByDescending(x=>x.CreationTime)
.Select((user, dept) => new UserGetListOutputDto(), true)
.ToPageListAsync(input.SkipCount, input.MaxResultCount, total);