Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @GetMapping("find")
- public Page<PaymentTransactionsDTO> getAllBySpecification(
- @PageableDefault(sort = "createdAt", direction = Sort.Direction.DESC)
- @And({
- @Spec(path = "unique_id", spec = LikeIgnoreCase.class)
- }) Specification<PaymentTransactions> specification,
- Pageable pageable
- ) {
- return transactionService.getAllBySpecification(specification, pageable));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement