修复分组bug

pull/433/head
gedoor 4 years ago
parent b0b7b1b0d8
commit 7518c094b5
  1. 2
      app/src/main/java/io/legado/app/data/dao/BookGroupDao.kt

@ -25,7 +25,7 @@ interface BookGroupDao {
@get:Query("SELECT sum(groupId) FROM book_groups where groupId >= 0")
val idsSum: Long
@get:Query("SELECT MAX(`order`) FROM book_groups")
@get:Query("SELECT MAX(`order`) FROM book_groups where groupId >= 0")
val maxOrder: Int
@get:Query("SELECT * FROM book_groups ORDER BY `order`")

Loading…
Cancel
Save