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

@@ -5,7 +5,7 @@ namespace Ewide.Core.Service
/// <summary>
/// 角色参数
/// </summary>
public class RoleInput : XnInputBase
public class RoleInput : InputBase
{
/// <summary>
/// 名称

View File

@@ -70,7 +70,7 @@ namespace Ewide.Core.Service
(code, u => EF.Functions.Like(u.Code, $"%{input.Code.Trim()}%")))
.Where(u => u.Status == (int)CommonStatus.ENABLE).OrderBy(u => u.Sort)
.ToPageData(input);
return XnPageResult<SysRole>.PageResult(roles);
return PageDataResult<SysRole>.PageResult(roles);
}
/// <summary>