[优化] 优化了默认分类[已读]的逻辑

This commit is contained in:
HapeLee
2025-12-28 04:38:32 +08:00
parent 8ee5ddcc8e
commit 4ae46386e0
@@ -50,6 +50,7 @@ interface BookGroupDao {
SELECT 1 FROM books
WHERE totalChapterNum > 0
AND durChapterIndex >= totalChapterNum - 1
AND durChapterPos != 0
))
or (groupId = ${BookGroup.IdError} and exists (select 1 from books where type & ${BookType.updateError} > 0))