This commit is contained in:
kunfei
2022-09-23 22:24:23 +08:00
parent 2ec532ddd6
commit 96a22f69ec
@@ -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
"""
)