From ad6f399066a747aeaba987360bce9ee40227302c Mon Sep 17 00:00:00 2001 From: 肖洋 <cathay_xy@163.com> Date: 星期一, 09 十二月 2024 18:23:00 +0800 Subject: [PATCH] SignalR+事件总线推送前端 --- Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/ServiceBase.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/ServiceBase.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/ServiceBase.cs index 3baf401..329d55b 100644 --- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/ServiceBase.cs +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/ServiceBase.cs @@ -82,7 +82,8 @@ //} //GetPageDataOnExecuted?.Invoke(pageGridData); - pageGridData = BaseDal.QueryPage(wheres, options.Page, options.Rows, orderbyDic); + pageGridData = BaseDal.QueryPage + (wheres, options.Page, options.Rows, orderbyDic); return pageGridData; } @@ -129,9 +130,9 @@ if (expressionType == LinqExpressionType.Equal) { if (string.IsNullOrEmpty(where)) - where += $"{searchParametersList[i].Name} = '{searchParametersList[i].Value}'"; + where += $"{searchParametersList[i].Name} like '%{searchParametersList[i].Value}%'"; else - where += $" and {searchParametersList[i].Name} = '{searchParametersList[i].Value}'"; + where += $" and {searchParametersList[i].Name} like '%{searchParametersList[i].Value}%'"; } else { -- Gitblit v1.9.3