Skip to content

Commit

Permalink
fix: 마감 임박 필터링 쿼리 수정 (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
fromitive authored Aug 8, 2024
1 parent 3324c22 commit a4442df
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public interface OfferingRepository extends JpaRepository<OfferingEntity, Long>
OR (o.totalCount <= 3 AND (o.totalCount - o.currentCount) < 2)
OR (o.totalCount > 3 AND (o.totalCount - o.currentCount) < 3))
AND (:keyword IS NULL OR o.title LIKE %:keyword% OR o.meetingAddress LIKE %:keyword%)
AND (o.isManualConfirmed IS FALSE)
ORDER BY o.deadline ASC, o.id DESC
""")
List<OfferingEntity> findImminentOfferingsWithKeyword(
Expand Down

0 comments on commit a4442df

Please sign in to comment.