feat: 标签范围回忆对比与记录口径

This commit is contained in:
2026-10-10 16:08:48 +08:00
parent 6a30022af5
commit 4b30c88b7f
12 changed files with 386 additions and 5 deletions
@@ -6,6 +6,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
import com.guo.learningprogresstracker.dto.RecallCompareOutcome;
import com.guo.learningprogresstracker.dto.ReviewTiming;
import com.guo.learningprogresstracker.entity.*;
import com.guo.learningprogresstracker.enums.ReviewScopeTypeEnum;
import com.guo.learningprogresstracker.exception.NotFindEntitiesException;
import com.guo.learningprogresstracker.exception.OperationFailedException;
import com.guo.learningprogresstracker.mapper.*;
@@ -163,6 +164,8 @@ public class StandardMindMapServiceImpl implements StandardMindMapService {
// 5. 保存回忆记录
ReviewRecallRecordEntity record = new ReviewRecallRecordEntity();
record.setTaskNum(taskNum);
// 任务范围的复习范围列:任务导图;标签范围的行由标签导图服务自己写
record.setScopeType(ReviewScopeTypeEnum.TASK.name());
record.setStandardMapId(standard.getId());
record.setFocusPath(focusPath != null && !focusPath.isBlank() ? focusPath : null);
record.setRecallContent(recallOutline);