|
|
@ -35,7 +35,7 @@ interface BookDao { |
|
|
|
@get:Query("SELECT * FROM books") |
|
|
|
@get:Query("SELECT * FROM books") |
|
|
|
val allBooks: List<Book> |
|
|
|
val allBooks: List<Book> |
|
|
|
|
|
|
|
|
|
|
|
@get:Query("SELECT * FROM books ORDER BY durChapterTime DESC limit 1") |
|
|
|
@get:Query("SELECT * FROM books where type = 0 ORDER BY durChapterTime DESC limit 1") |
|
|
|
val lastReadBook: Book? |
|
|
|
val lastReadBook: Book? |
|
|
|
|
|
|
|
|
|
|
|
@get:Query("SELECT bookUrl FROM books") |
|
|
|
@get:Query("SELECT bookUrl FROM books") |
|
|
|