Skip to content

Commit

Permalink
!hotfix : comparisonRepository 쿼리 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboysj committed Sep 6, 2024
1 parent 0a00d67 commit 418d895
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main/java/FITPET/dev/repository/ComparisonRepository.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,4 @@ Page<Comparison> searchComparison(
@Param("content") String content,
Pageable pageable);

"WHERE REPLACE(c.petInfo.phoneNum, '-', '') LIKE %?1% " +
"OR c.petInfo.name LIKE %?1%")
Page<Comparison> findAllByPhoneNumOrPetName(String content, Pageable pageable);




}

0 comments on commit 418d895

Please sign in to comment.