Skip to content

Commit

Permalink
removed join
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopocarlini committed Sep 9, 2024
1 parent e710160 commit fd8833e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ && isValidFiscalCode(pmEventPaymentDetail.getCodicePagatore())) {
.taxCode(pmEventPaymentDetail.getCodicePagatore())
.build();
}
// TODO handle not valid taxcode -> skip if invalid
throw new AppException(AppError.BAD_REQUEST,
"Missing or invalid debtor info [name="+pmEventPaymentDetail.getNomePagatore()+", taxCode="+pmEventPaymentDetail.getCodicePagatore()+"]");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ public Predicate toPredicate(Root<PPTransaction> root, CriteriaQuery<?> query, C

Join<?, ?> ppUserJoin = root.join("ppUser", JoinType.INNER);
Join<?, ?> ppWalletJoin = root.join("ppWallet", JoinType.INNER);
ppWalletJoin.join("ppBPay", JoinType.INNER);
ppWalletJoin.join("ppCreditCard", JoinType.INNER);
Join<?, ?> ppPaymentJoin = root.join("ppPayment", JoinType.INNER);
ppPaymentJoin.join("ppPaymentDetail", JoinType.INNER);
Expand Down

0 comments on commit fd8833e

Please sign in to comment.