Interface AccountStmtRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<AccountStmt,String>,org.springframework.data.repository.PagingAndSortingRepository<AccountStmt,String>,org.springframework.data.repository.Repository<AccountStmt,String>
public interface AccountStmtRepository extends org.springframework.data.repository.PagingAndSortingRepository<AccountStmt,String>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
findFirstByAccountAndStmtStatusAndPstTimeLessThanOrderByPstTimeDescStmtSeqNbrDesc
Optional<AccountStmt> findFirstByAccountAndStmtStatusAndPstTimeLessThanOrderByPstTimeDescStmtSeqNbrDesc(LedgerAccount account, StmtStatus stmtStatus, LocalDateTime refTime)
Select the latest statement for the given reference time.- Parameters:
account- ledger accountstmtStatus- statement statusrefTime- reference time- Returns:
- account statement wrapped with Optional
-
findFirstByAccountAndStmtStatusAndPstTimeGreaterThanEqual
Optional<AccountStmt> findFirstByAccountAndStmtStatusAndPstTimeGreaterThanEqual(LedgerAccount account, StmtStatus stmtStatus, LocalDateTime refTime)
-
-