Last active
August 8, 2017 10:31
-
-
Save gitjs77/a6c252a82019d00e09a8cc5d6801779f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Query("SELECT new com.infin.it.ibank.card.CardResource$CardChangeStatus(" + | |
| "card.status, " + | |
| "card.blockUnblockReason, " + | |
| "card.cardNumber) " + | |
| "FROM Card card where card.id = ?1") | |
| CardResource.CardChangeStatus fetchBlockedUnblockedInfo(final Long id); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"FROM Card card where card.id = ?1"
?1 -значит брать первый аргумент метода, тоесть тут: final Long id