提交 7350d590 编写于 作者: S szjay

no commit message

上级 60e67496
...@@ -615,7 +615,7 @@ namespace Infrastructure.Utilities ...@@ -615,7 +615,7 @@ namespace Infrastructure.Utilities
{ {
if (!string.IsNullOrEmpty(value)) if (!string.IsNullOrEmpty(value))
{ {
_Where.Append(string.Format(" and ({1} like '{0}' or {2} like '{0}')", value, fieldName1, fieldName2)); _Where.Append(string.Format(" and ({1} like '%{0}%' or {2} like '%{0}%')", value, fieldName1, fieldName2));
} }
return this; return this;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册