pull/46/head
kunfei 5 years ago
parent 9095783fc4
commit 2dbc6d60ca
  1. 2
      app/src/main/java/io/legado/app/data/dao/BookDao.kt

@ -35,7 +35,7 @@ interface BookDao {
@get:Query("SELECT * FROM books")
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?
@get:Query("SELECT bookUrl FROM books")

Loading…
Cancel
Save