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

@@ -118,7 +118,7 @@ namespace Ewide.Core.Service.Area
.Where(!string.IsNullOrEmpty(input.Name), a => a.Name.Contains(input.Name))
.Where(!string.IsNullOrEmpty(input.Pcode), a => a.Code.StartsWith(input.Pcode))
.ToPageData(input);
return XnPageResult<SysAreaCode>.PageResult(AreaCodes);
return PageDataResult<SysAreaCode>.PageResult(AreaCodes);
}
/// <summary>

View File

@@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace Ewide.Core.Service.Area.Dto
{
public class AreaCodeInput : XnInputBase
public class AreaCodeInput : InputBase
{
public string Code { get; set; }
public string AdCode { get; set; }