pull/2385/head 3.22.100521
kunfei 2 years ago
parent 4cc2a73a58
commit a9a6d49150
  1. 2
      app/src/main/java/io/legado/app/data/dao/BookDao.kt

@ -77,7 +77,7 @@ interface BookDao {
@get:Query("SELECT * FROM books") @get:Query("SELECT * FROM books")
val all: List<Book> val all: List<Book>
@get:Query("SELECT * FROM books where type = 0 ORDER BY durChapterTime DESC limit 1") @get:Query("SELECT * FROM books where type & ${BookType.text} > 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")

Loading…
Cancel
Save