From 5073a245f53fd5ca936e779be8c6b9b19d42f67d Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 11 七月 2024 09:47:42 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- src/main/java/com/ycl/jxkg/controller/wx/student/DashboardController.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/controller/wx/student/DashboardController.java b/src/main/java/com/ycl/jxkg/controller/wx/student/DashboardController.java index 5e6ef23..470f167 100644 --- a/src/main/java/com/ycl/jxkg/controller/wx/student/DashboardController.java +++ b/src/main/java/com/ycl/jxkg/controller/wx/student/DashboardController.java @@ -6,7 +6,7 @@ import com.ycl.jxkg.domain.entity.TaskExamCustomerAnswer; import com.ycl.jxkg.domain.entity.TextContent; import com.ycl.jxkg.domain.entity.User; -import com.ycl.jxkg.domain.enums.ExamPaperTypeEnum; +import com.ycl.jxkg.enums.ExamPaperTypeEnum; import com.ycl.jxkg.domain.task.TaskItemAnswerObject; import com.ycl.jxkg.domain.task.TaskItemObject; import com.ycl.jxkg.service.ExamPaperService; @@ -15,7 +15,7 @@ import com.ycl.jxkg.service.TextContentService; import com.ycl.jxkg.utils.DateTimeUtil; import com.ycl.jxkg.utils.JsonUtil; -import com.ycl.jxkg.vo.student.dashboard.*; +import com.ycl.jxkg.domain.vo.student.dashboard.*; import lombok.RequiredArgsConstructor; import org.springframework.beans.BeanUtils; import org.springframework.stereotype.Controller; @@ -52,7 +52,7 @@ PaperFilter timeLimitPaperFilter = new PaperFilter(); timeLimitPaperFilter.setDateTime(new Date()); timeLimitPaperFilter.setGradeLevel(user.getUserLevel()); - timeLimitPaperFilter.setExamPaperType(ExamPaperTypeEnum.TimeLimit.getCode()); + timeLimitPaperFilter.setExamPaperType(ExamPaperTypeEnum.Random.getCode()); List<PaperInfo> limitPaper = examPaperService.indexPaper(timeLimitPaperFilter); List<PaperInfoVO> paperInfoVOS = limitPaper.stream().map(d -> { -- Gitblit v1.8.0