From c2cdc65cbeb8ed1c2a2a70f37048e189da05fca8 Mon Sep 17 00:00:00 2001 From: wintel Date: Tue, 13 May 2025 21:46:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=89=93=E5=8D=B0=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E9=AB=98=E7=BA=A7=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OpenAuth.App/SysPrinterPlanApp/SysPrinterPlanApp.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OpenAuth.App/SysPrinterPlanApp/SysPrinterPlanApp.cs b/OpenAuth.App/SysPrinterPlanApp/SysPrinterPlanApp.cs index 81ceb6e3..a9073918 100644 --- a/OpenAuth.App/SysPrinterPlanApp/SysPrinterPlanApp.cs +++ b/OpenAuth.App/SysPrinterPlanApp/SysPrinterPlanApp.cs @@ -39,6 +39,11 @@ namespace OpenAuth.App objs = objs.Where(u => u.Name.Contains(request.key)); } + if (!string.IsNullOrEmpty(request.sqlWhere)) + { + objs = objs.Where(request.sqlWhere); + } + var columnnames = columnFields.Select(u => u.ColumnName); var propertyStr = string.Join(',', columnnames);