Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. @GetMapping("find")
  2. public Page<PaymentTransactionsDTO> getAllBySpecification(
  3. @PageableDefault(sort = "createdAt", direction = Sort.Direction.DESC)
  4. @And({
  5. @Spec(path = "unique_id", spec = LikeIgnoreCase.class)
  6.  
  7. }) Specification<PaymentTransactions> specification,
  8. Pageable pageable
  9. ) {
  10. return transactionService.getAllBySpecification(specification, pageable));
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement