We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2ba7db commit c61090eCopy full SHA for c61090e
src/main/java/com/back/domain/cocktail/repository/CocktailRepository.java
@@ -67,6 +67,7 @@ List<Cocktail> findByCommentsCountLessThanOrderByCommentsCountDesc(
67
@Query("SELECT c FROM Cocktail c " +
68
"WHERE (:keyword IS NULL OR :keyword = '' OR " +
69
" LOWER(c.cocktailName) LIKE LOWER(CONCAT('%', :keyword, '%')) OR " +
70
+ " LOWER(c.cocktailNameKo) LIKE LOWER(CONCAT('%', :keyword, '%')) OR " +
71
" LOWER(c.ingredient) LIKE LOWER(CONCAT('%', :keyword, '%')))" +
72
" AND (:strengths IS NULL OR c.alcoholStrength IN :strengths) " + // 알코올 도수 필터를 담당
73
" AND (:types IS NULL OR c.cocktailType IN :types) " + // 칵테일 타입 필터를 담당
0 commit comments