update 删除所有Xn前缀, 规范了所有分页参数和返回值

This commit is contained in:
2021-05-27 21:07:30 +08:00
parent f612f7e4e9
commit c023f86f6e
34 changed files with 146 additions and 205 deletions

View File

@@ -38,8 +38,8 @@ namespace Ewide.Core.Service
.Where((name, u => EF.Functions.Like(u.Name, $"%{input.Name.Trim()}%")),
(host, u => EF.Functions.Like(u.Host, $"%{input.Host.Trim()}%")))
.Select(u => u.Adapt<TenantOutput>())
.ToPagedListAsync(input.PageNo, input.PageSize);
return XnPageResult<TenantOutput>.PageResult(tenants);
.ToPagedListAsync(input.PageIndex, input.PageSize);
return PageDataResult<TenantOutput>.PageResult(tenants);
}
/// <summary>