}
@Override
public Page<Operation> findCardOperationsByAccountIdAndYearMonthAndStatus(Integer accountId, YearMonth yearMonth, OperationStatus status, Pageable pageable) {
BooleanExpression predicate = operation.type.id.eq(OperationType.CARD).and(operation.account.id.eq(accountId)).and(operation.status.id.eq(status));
predicate = addOperationYearMonthExpression(predicate, operation, yearMonth);
JPQLQuery countQuery = from(operation).where(predicate);
JPQLQuery query = applyPagination(from(operation).where(predicate).orderBy(operation.date.desc()), pageable);