Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ internal interface NoticeJpaRepository : JpaRepository<NoticeEntity, Long> {
value = """
SELECT *
FROM notice
WHERE MATCH(title) AGAINST (?1 IN NATURAL LANGUAGE MODE)
ORDER BY date DESC, id DESC
""",
WHERE REPLACE(title, ' ', '') LIKE CONCAT('%', REPLACE(?1, ' ', ''), '%')
AND type IN (?2, '대학')
""",
nativeQuery = true
)
fun findBySearchWordAndDepartment(searchWord: String, department: String, pageable: Pageable): Page<NoticeEntity>
Expand Down
Loading