update 修改区域排序

This commit is contained in:
2021-04-30 09:41:45 +08:00
parent 258bc632f6
commit 73001d5f8a

View File

@@ -1,4 +1,5 @@
using Ewide.Core.Service.Area.Dto;
using Ewide.Core.Extension;
using Ewide.Core.Service.Area.Dto;
using Furion.DatabaseAccessor;
using Furion.DatabaseAccessor.Extensions;
using Furion.DependencyInjection;
@@ -98,7 +99,7 @@ namespace Ewide.Core.Service.Area
.Where(!string.IsNullOrEmpty(input.Code), a => a.Code.StartsWith(input.Code))
.Where(!string.IsNullOrEmpty(input.ShowCode), a => a.ShowCode.StartsWith(input.ShowCode))
.Where(!string.IsNullOrEmpty(input.Name), a => a.Name.StartsWith(input.Name))
.Select(p => p.Adapt<SysAreaCode>()).ToPagedListAsync(input.PageNo, input.PageSize);
.ToPageData(input);
return XnPageResult<SysAreaCode>.PageResult(AreaCodes);
}