Skip to content

Commit

Permalink
feat: inoculation detail을 질병명 일부로도 조회 가능하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
HyungJu committed May 1, 2024
1 parent ed3637a commit 11c55e4
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 @@ interface InoculationRepository : JpaRepository<Inoculation, UUID> {
@Query(
"select i " +
"from Inoculation i " +
"where i.member.id = :memberId and i.vaccination.diseaseName = :diseaseName " +
"where i.member.id = :memberId and i.vaccination.diseaseName LIKE %:diseaseName% " +
"and i.vaccination.vaccinationType = :vaccinationType " +
"order by i.date desc",
)
Expand Down

0 comments on commit 11c55e4

Please sign in to comment.