Commit b0709dd7 by jinfeng.wang

fix

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