kunfei 4 سال پیش
والد
کامیت
96a22f69ec
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/src/main/java/io/legado/app/data/dao/BookDao.kt

+ 1 - 1
app/src/main/java/io/legado/app/data/dao/BookDao.kt

@@ -38,7 +38,7 @@ interface BookDao {
 
     @Query(
         """
-        select * from books where type != ${BookType.audio} and origin != '${BookType.local}' 
+        select * from books where type != ${BookType.audio} and origin = '${BookType.local}' 
         and ((SELECT sum(groupId) FROM book_groups where groupId > 0) & `group`) = 0
         """
     )