From 40cd89f90cd25b73f729f7092a8422bbb68c250a Mon Sep 17 00:00:00 2001 From: Po <448443959@qq.com> Date: Wed, 2 Jul 2025 02:50:06 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=88=86=E9=A1=B5=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E9=83=A8=E9=97=A8=E7=BB=93=E6=9E=84=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E3=80=82=E5=8F=96=E6=B6=88=E5=90=8E=E5=8F=B0?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E5=8A=9F=E8=83=BD,=E5=90=8C=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E7=BB=93=E6=9E=84=E6=97=A0=E9=9C=80=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Po <448443959@qq.com> --- .../Services/System/DeptService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application/Services/System/DeptService.cs b/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application/Services/System/DeptService.cs index 531d610e..cc9898c3 100644 --- a/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application/Services/System/DeptService.cs +++ b/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application/Services/System/DeptService.cs @@ -51,7 +51,7 @@ namespace Yi.Framework.Rbac.Application.Services.System .WhereIF(!string.IsNullOrEmpty(input.DeptName), u => u.DeptName.Contains(input.DeptName!)) .WhereIF(input.State is not null, u => u.State == input.State) .OrderBy(u => u.OrderNum, OrderByType.Asc) - .ToPageListAsync(input.SkipCount, input.MaxResultCount, total); + .ToListAsync(); return new PagedResultDto { Items = await MapToGetListOutputDtosAsync(entities),