Skip to content

Commit

Permalink
Merge pull request #72 from teamterning/fix/#70
Browse files Browse the repository at this point in the history
[🔨fix]: 로직수정
  • Loading branch information
JungYoonShin authored Jul 17, 2024
2 parents 4368780 + a5b28cf commit cc68ed7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import java.util.Optional;

public interface ScrapRepository extends JpaRepository<Scrap, Long>, ScrapRepositoryCustom {
Boolean existsByInternshipAnnouncementIdAndUserId(Long internshipId, Long userId);

Optional<Scrap> findByInternshipAnnouncementIdAndUserId(Long internshipId, Long userId);

List<Scrap> findByUserIdAndInternshipAnnouncement_Deadline(Long userId, LocalDate deadline);
Expand Down

0 comments on commit cc68ed7

Please sign in to comment.