音频不加入默认未分组

This commit is contained in:
kunfei committed 2022-09-17 18:50:12 +08:00
1 parent c4581fb4e8
commit 655991ba07
1 file changed
+2 -1
@@ -31,7 +31,8 @@ interface BookDao {
@Query( @Query(
""" """
select * from books select * from books
where ((SELECT sum(groupId) FROM book_groups where groupId > 0) & `group`) = 0 where type != ${BookType.audio}
and ((SELECT sum(groupId) FROM book_groups where groupId > 0) & `group`) = 0
""" """
) )
fun flowNoGroup(): Flow<List<Book>> fun flowNoGroup(): Flow<List<Book>>