Interface InvoiceRepositoryMixin

All Known Subinterfaces:
InvoiceRepository

public interface InvoiceRepositoryMixin
  • Method Details

    • findMaxInvoiceNumberForYear

      @Query("SELECT MAX(invoice_number) FROM invoice\nWHERE invoice_number LIKE :year || '%'\n") Optional<String> findMaxInvoiceNumberForYear(String year)