public interface AccountStmtRepository extends org.springframework.data.repository.PagingAndSortingRepository<AccountStmt,String>
| Modifier and Type | Method and Description |
|---|---|
Optional<AccountStmt> |
findFirstByAccountAndStmtStatusAndPstTimeGreaterThanEqual(LedgerAccount account,
StmtStatus stmtStatus,
LocalDateTime refTime) |
Optional<AccountStmt> |
findFirstByAccountAndStmtStatusAndPstTimeLessThanOrderByPstTimeDescStmtSeqNbrDesc(LedgerAccount account,
StmtStatus stmtStatus,
LocalDateTime refTime)
Select the latest statement for the given reference time.
|
Optional<AccountStmt> findFirstByAccountAndStmtStatusAndPstTimeLessThanOrderByPstTimeDescStmtSeqNbrDesc(LedgerAccount account, StmtStatus stmtStatus, LocalDateTime refTime)
account - ledger accountstmtStatus - statement statusrefTime - reference timeOptional<AccountStmt> findFirstByAccountAndStmtStatusAndPstTimeGreaterThanEqual(LedgerAccount account, StmtStatus stmtStatus, LocalDateTime refTime)
Copyright © 2021. All rights reserved.