[优化] 优化了默认分类[已读]的逻辑
This commit is contained in:
@@ -50,6 +50,7 @@ interface BookGroupDao {
|
|||||||
SELECT 1 FROM books
|
SELECT 1 FROM books
|
||||||
WHERE totalChapterNum > 0
|
WHERE totalChapterNum > 0
|
||||||
AND durChapterIndex >= totalChapterNum - 1
|
AND durChapterIndex >= totalChapterNum - 1
|
||||||
|
AND durChapterPos != 0
|
||||||
))
|
))
|
||||||
|
|
||||||
or (groupId = ${BookGroup.IdError} and exists (select 1 from books where type & ${BookType.updateError} > 0))
|
or (groupId = ${BookGroup.IdError} and exists (select 1 from books where type & ${BookType.updateError} > 0))
|
||||||
|
|||||||
Reference in New Issue
Block a user