Skip to content

Commit

Permalink
Merge pull request #406 from Team-Ampersand/405-fix/massage-apply
Browse files Browse the repository at this point in the history
#405 자습 신청 오류
  • Loading branch information
KimGyeongsuuu authored Aug 13, 2024
2 parents aee6901 + 6cabbb3 commit 402af26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ interface MassageCountRepository : JpaRepository<MassageCount, Long> {
fun findMassageCountById(id: Long): MassageCount

@Lock(LockModeType.PESSIMISTIC_WRITE)
@Query("select m from MassageCount m where m = :id")
@Query("select m from MassageCount m where m.id = :id")
fun findMassageCountByIdForUpdate(id: Long): MassageCount
}

0 comments on commit 402af26

Please sign in to comment.