Skip to content

Commit

Permalink
Merge branch 'dev' into refactor/notification/change-module
Browse files Browse the repository at this point in the history
  • Loading branch information
siyeonSon committed Mar 12, 2024
2 parents 5c6b511 + c2c1481 commit b9081cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
import java.util.List;

public interface PopupRepository extends JpaRepository<Popup, Long> {
@Query("SELECT p FROM Popup p WHERE p.isRead = false")
@Query("SELECT p FROM Popup p WHERE p.isRead = false AND p.userId = :id")
List<Popup> findAllByUserId(Long id);
}

0 comments on commit b9081cb

Please sign in to comment.