Interface AnalyticsRepositoryJpa

    • Method Detail

      • deleteByAccountId

        void deleteByAccountId​(String id)
      • findLastAnalyticsDateByUserIdAndAccountId

        @Query("SELECT max(analyticsDate) FROM #{#entityName} a WHERE a.userId=:userId and a.accountId=:accountId")
        Optional<LocalDateTime> findLastAnalyticsDateByUserIdAndAccountId​(@Param("userId")
                                                                          String userId,
                                                                          @Param("accountId")
                                                                          String accountId)