Skip to content

Commit

Permalink
Feat: Add FindByIdAndIsPrivateFalse
Browse files Browse the repository at this point in the history
  • Loading branch information
huGgW committed Mar 14, 2024
1 parent 3d545b6 commit 61fe801
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import org.springframework.stereotype.Component
import java.time.LocalDateTime

interface NoticeRepository : JpaRepository<NoticeEntity, Long>, CustomNoticeRepository {
fun findByIdAndIsPrivateFalse(id: Long): NoticeEntity?
fun findAllByIsPrivateFalseAndIsImportantTrueAndIsDeletedFalse(): List<NoticeEntity>
fun findAllByIsImportantTrueAndIsDeletedFalse(): List<NoticeEntity>
fun findFirstByIsDeletedFalseAndIsPrivateFalseAndCreatedAtLessThanOrderByCreatedAtDesc(
Expand Down

0 comments on commit 61fe801

Please sign in to comment.