feat: 新增复习任务统计接口

This commit is contained in:
2026-06-18 00:07:43 +08:00
parent 2cf3533141
commit 81543969d8
4 changed files with 179 additions and 0 deletions
@@ -1,6 +1,7 @@
package com.guo.learningprogresstracker.service;
import com.guo.learningprogresstracker.dto.ReviewFeedItem;
import com.guo.learningprogresstracker.dto.ReviewTaskStats;
import com.guo.learningprogresstracker.entity.StudyReportFragmentsEntity;
import com.guo.learningprogresstracker.entity.StudyReportsEntity;
import com.guo.learningprogresstracker.exception.NotFindEntitiesException;
@@ -17,6 +18,16 @@ public interface ReviewService {
*/
List<ReviewFeedItem> getReviewFeed(int limit);
/**
* 获取所有任务的复习统计数据
*/
List<ReviewTaskStats> getReviewTaskStats();
/**
* 获取指定任务的复习统计数据
*/
ReviewTaskStats getReviewTaskStats(String taskNum);
/**
* 获取指定任务下的所有报告和残片
*/