Commit 06318d4e by Lee Munkyeong

コードミス修正。

parent 8a0562fb
...@@ -130,7 +130,7 @@ public class ChatRoomDao extends AbstractDao { ...@@ -130,7 +130,7 @@ public class ChatRoomDao extends AbstractDao {
sql.append(" WHERE "); sql.append(" WHERE ");
List<String> whereSqlList = new ArrayList<String>(); List<String> whereSqlList = new ArrayList<String>();
for (String keyword : keywords) { for (String keyword : keywords) {
String whereSql = "( cr.chat_room_name LIKE '%" + keyword + "%'" + "OR cr.chat_room_name LIKE '%" + keyword + "%' )"; String whereSql = "( cr.chat_room_name LIKE '%" + keyword + "%' )";
whereSqlList.add(whereSql); whereSqlList.add(whereSql);
} }
String whereSql = StringUtil.join(" AND ", whereSqlList); String whereSql = StringUtil.join(" AND ", whereSqlList);
......
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