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/StudyPairResultVO.java | 22 +++++++++++++++------- 1 files changed, 15 insertions(+), 7 deletions(-) diff --git a/ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/vo/StudyPairResultVO.java b/ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/vo/StudyPairResultVO.java index a1abae0..f5f3d92 100644 --- a/ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/vo/StudyPairResultVO.java +++ b/ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/vo/StudyPairResultVO.java @@ -1,12 +1,12 @@ package com.ruoyi.study.vo; -import com.ruoyi.study.domain.TStudyPair; import com.ruoyi.study.domain.TSubject; +import com.ruoyi.study.domain.TSubjectRecordDetail; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; -import lombok.EqualsAndHashCode; +import java.math.BigDecimal; import java.util.List; /** @@ -14,18 +14,26 @@ * @version 1.0 * @since 2024-05-22 14:48 */ -@EqualsAndHashCode(callSuper = true) @Data @ApiModel(value = "音图相配返回信息类") -public class StudyPairResultVO extends StudyModelVO { +public class StudyPairResultVO extends StudyModelVO { /** * 自主学习题目信息 */ @ApiModelProperty("自主学习题目信息") - private TStudyPair data; - - public StudyPairResultVO(TStudyPair data, List<TSubject> subjectList) { + private LearnStudyVO data; + /** + * 2.0新增答题记录 + */ + @ApiModelProperty("2.0新增答题记录") + private List<TSubjectRecordDetail> list; + /** + * 正确率 + */ + @ApiModelProperty("正确率") + private BigDecimal accuracy; + public StudyPairResultVO(LearnStudyVO data, List<List<TSubject>> subjectList) { this.data = data; super.setSubjectList(subjectList); } -- Gitblit v1.7.1