update dapper动态条件查询

This commit is contained in:
2021-07-06 09:33:43 +08:00
parent 4588ff56df
commit f5bdc7e1ab

View File

@@ -56,7 +56,7 @@ namespace Ewide.Core.Extension.DataFilter.WebPage
#region
private string GetWhereSqlBuild(SearchInfo searchInfo)
{
string sqlT = "`{0}`{1}{2}";
string sqlT = "`{0}` {1} {2}";
List<string> whereList = new List<string>();
foreach (var elem in searchInfo.Value)
{