停车场筛选修改

master
洁 任 2026-03-10 10:18:34 +08:00
parent 976378a3e0
commit 154c157725
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
using DocumentFormat.OpenXml.Spreadsheet;
using Flurl.Util;
using Infrastructure;
using OpenAuth.App.BaseApp.Base;
using OpenAuth.App.Interface;
@ -32,6 +33,7 @@ namespace OpenAuth.App
RefAsync<int> totalCount = 0;
var result = new PageInfo<SysRole>();
var list = await base.Repository.AsQueryable()
.WhereIF(request.key!=null,r=>r.Name.Contains(request.key)||r.Num.Contains(request.key))
.ToPageListAsync(request.page, request.limit, totalCount);
return new Response<PageInfo<List<MiParking>>>