From 15b094a42226c4d4a4007eac4adb720c75a7d3eb Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 17 Mar 2025 13:52:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Document/SysFileTypeService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IRaCIS.Core.Application/Service/Document/SysFileTypeService.cs b/IRaCIS.Core.Application/Service/Document/SysFileTypeService.cs index 9acd25c4e..9e0b812df 100644 --- a/IRaCIS.Core.Application/Service/Document/SysFileTypeService.cs +++ b/IRaCIS.Core.Application/Service/Document/SysFileTypeService.cs @@ -40,6 +40,8 @@ public class SysFileTypeService(IRepository _sysFileTypeRepository, .WhereIf(inQuery.NameCN.IsNotNullOrEmpty(), t => t.NameCN.Contains(inQuery.NameCN)) .ProjectTo(_mapper.ConfigurationProvider); + var defalutSortArray = new string[] { nameof(SysFileTypeView.ArchiveTypeEnum), nameof(SysFileTypeView.ShowOrder)}; + var pageList = await sysFileTypeQueryable.ToPagedListAsync(inQuery); return pageList;