We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 38b08de + c94f06d commit 19b24afCopy full SHA for 19b24af
src/main/java/com/example/cherrydan/campaign/repository/CampaignRepository.java
@@ -113,7 +113,7 @@ List<Campaign> findByKeywordSimpleLike(
113
@Query(value = """
114
SELECT COUNT(*)
115
FROM campaigns c
116
- WHERE AND c.is_active = 1
+ WHERE c.is_active = 1
117
AND c.created_at >= DATE(:date - INTERVAL 1 DAY)
118
AND c.created_at < DATE(:date)
119
AND c.title LIKE CONCAT('%', :keyword, '%')
0 commit comments