File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/com/back/domain/cocktail/repository Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,8 @@ List<Cocktail> findByCommentsCountLessThanOrderByCommentsCountDesc(
6868 "WHERE (:keyword IS NULL OR :keyword = '' OR " +
6969 " LOWER(c.cocktailName) LIKE LOWER(CONCAT('%', :keyword, '%')) OR " +
7070 " LOWER(c.cocktailNameKo) LIKE LOWER(CONCAT('%', :keyword, '%')) OR " +
71- " LOWER(c.ingredient) LIKE LOWER(CONCAT('%', :keyword, '%')))" +
71+ " LOWER(c.ingredient) LIKE LOWER(CONCAT('%', :keyword, '%')) OR " +
72+ " LOWER(c.cocktailStory) LIKE LOWER(CONCAT('%', :keyword, '%')))" +
7273 " AND (:strengths IS NULL OR c.alcoholStrength IN :strengths) " + // 알코올 도수 필터를 담당
7374 " AND (:types IS NULL OR c.cocktailType IN :types) " + // 칵테일 타입 필터를 담당
7475 " AND (:bases IS NULL OR c.alcoholBaseType IN :bases) " ) // 알코올 베이스 필터를 담당
You can’t perform that action at this time.
0 commit comments