Commit 55749fe9 by jinfeng.wang

fix

parent b0709dd7
......@@ -84,9 +84,9 @@ public interface ResultDao {
class ListAllMapperProvider {
public String listAll(String search) {
String sql = "SELECT * FROM tag_result WHERE ";
String sql = "SELECT * FROM tag_result ";
if (StringUtils.isNotBlank(search)) {
sql += " LOWER(package_name) LIKE '%" + search + "%'";
sql += "WHERE LOWER(package_name) LIKE '%" + search + "%'";
}
return sql;
}
......
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