修改错误

This commit is contained in:
2026-07-06 15:47:44 +08:00
parent 32612ca6d4
commit 2b444abe10
2 changed files with 3 additions and 4 deletions

View File

@ -1750,8 +1750,7 @@ public class UserAnswerTaskService(
// 统计有题目的页面数(用于文章篇数计算)
var pagesWithTasks = allTasks
.Where(t => secondLevelPageIds.Contains(t.JournalPageId))
.Select(t => t.JournalPageId)
.Distinct()
.Select(t => t.JournalPageId)
.ToHashSet();
articleCount += pagesWithTasks.Count;