Commit 43a9b82f by jinfeng.wang

fix

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