Revoke cards by cardIndex and drop cardId uniqueness
All checks were successful
build-and-deploy / build-deploy (push) Successful in 1m33s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 1m33s
This commit is contained in:
@@ -9,6 +9,7 @@ interface IssuedCardRepo : JpaRepository<IssuedCard, UUID> {
|
||||
fun findByIdAndPropertyId(id: UUID, propertyId: UUID): IssuedCard?
|
||||
fun findByCardIdIgnoreCaseAndPropertyId(cardId: String, propertyId: UUID): IssuedCard?
|
||||
fun findAllByCardIdIgnoreCaseAndPropertyId(cardId: String, propertyId: UUID): List<IssuedCard>
|
||||
fun findByPropertyIdAndCardIndex(propertyId: UUID, cardIndex: Int): IssuedCard?
|
||||
|
||||
@org.springframework.data.jpa.repository.Query("""
|
||||
select case when count(c) > 0 then true else false end
|
||||
|
||||
Reference in New Issue
Block a user