Skip to content

Commit

Permalink
hotfix: 입금자명으로 검색되도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
0703kyj committed Jan 13, 2025
1 parent 6450a84 commit e20e7b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public interface TicketRepository extends JpaRepository<Ticket,Long> {

Page<Ticket> findByStatus(TicketStatus status, Pageable pageable);

@Query("SELECT t FROM Ticket t WHERE t.user.userDetails.depositorName LIKE %:depositorName")
@Query("SELECT t FROM Ticket t WHERE t.user.userDetails.depositorName LIKE %:depositorName%")
Page<Ticket> findByDepositorName(String depositorName, Pageable pageable);

@Query("SELECT t FROM Ticket t WHERE t.user.userDetails.phoneNumber LIKE %:lastFourDigits")
Expand Down

0 comments on commit e20e7b9

Please sign in to comment.