Skip to content

Commit 19b24af

Browse files
authored
Merge pull request #184 from GoToBILL/feature/enhancement
fix: jpql 문법 오류 수정
2 parents 38b08de + c94f06d commit 19b24af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/example/cherrydan/campaign/repository/CampaignRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ List<Campaign> findByKeywordSimpleLike(
113113
@Query(value = """
114114
SELECT COUNT(*)
115115
FROM campaigns c
116-
WHERE AND c.is_active = 1
116+
WHERE c.is_active = 1
117117
AND c.created_at >= DATE(:date - INTERVAL 1 DAY)
118118
AND c.created_at < DATE(:date)
119119
AND c.title LIKE CONCAT('%', :keyword, '%')

0 commit comments

Comments
 (0)