Commit b406f483 by guanzhenshan

用户角色增加模糊搜索

parent 23b29a54
......@@ -209,8 +209,8 @@ namespace Bailun.DC.Services
if (!string.IsNullOrEmpty(name))
{
sql += " and name=@name";
sqlparam.Add("name", name);
sql += " and name like @name";
sqlparam.Add("name", "%"+name+"%");
}
if (!string.IsNullOrWhiteSpace(parameter.sort))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment