Skip to content

Commit

Permalink
๐Ÿฉน chore: repository ์–ด๋…ธํ…Œ์ด์…˜ ์ถ”๊ฐ€
Browse files Browse the repository at this point in the history
  • Loading branch information
tmddus2 committed Aug 11, 2024
1 parent 7db2786 commit 1317d19
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import com.example.purithm.domain.review.entity.Review;

@Repository
public interface ReviewRepository extends JpaRepository<Review, Long> {
List<Review> findAllByFilterId(Long filterId);
@Query("select avg(r.pureDegree) as avg\n"
Expand Down

0 comments on commit 1317d19

Please sign in to comment.