From 401510af482a05aa777db983791f8e7594edaec2 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期二, 08 七月 2025 13:53:55 +0800 Subject: [PATCH] 新增迭代 --- ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/vo/StudyAnswerResultVO.java | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/vo/StudyAnswerResultVO.java b/ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/vo/StudyAnswerResultVO.java index 11d1f78..5f67efc 100644 --- a/ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/vo/StudyAnswerResultVO.java +++ b/ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/vo/StudyAnswerResultVO.java @@ -1,10 +1,11 @@ package com.ruoyi.study.vo; -import com.ruoyi.study.domain.TStudyAnswer; +import com.ruoyi.study.domain.TSubjectRecordDetail; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; +import java.math.BigDecimal; import java.util.List; /** @@ -14,15 +15,31 @@ */ @Data @ApiModel(value = "有问有答返回信息类") -public class StudyAnswerResultVO{ +public class StudyAnswerResultVO { /** * 自主学习题目信息 */ @ApiModelProperty("自主学习题目信息") - private List<TStudyAnswer> data; + private LearnStudyVO data; + /** + * 2.0新增答题记录 + */ + @ApiModelProperty("2.0新增答题记录") + private List<TSubjectRecordDetail> list; + /** + * 正确率 + */ + @ApiModelProperty("正确率") + private BigDecimal accuracy; + /** + * 自主学习题目所包含录音图片等 + */ + @ApiModelProperty("自主学习题目所包含录音图片等") + private List<List<QuestionsAnswersSubjectVO>> subjectList; - public StudyAnswerResultVO(List<TStudyAnswer> data) { + public StudyAnswerResultVO(LearnStudyVO data, List<List<QuestionsAnswersSubjectVO>> subjectList) { this.data = data; + this.subjectList = subjectList; } } -- Gitblit v1.7.1