优化
This commit is contained in:
1 parent
e794121215
commit
06b8c83f34
1 file changed
+1
-1
@@ -77,7 +77,7 @@ interface BookDao {
|
||||
@get:Query("SELECT * FROM books")
|
||||
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?
|
||||
|
||||
@get:Query("SELECT bookUrl FROM books")
|
||||
|
||||
Reference in new issue
Block a user