From 8f05785d8885f7881c2636413b0b48288b52a372 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期四, 09 五月 2024 18:04:28 +0800 Subject: [PATCH] feat:新增待补考学生记录(时段试卷过期自动保存、考试时间超时保存为待补考) --- src/main/java/com/mindskip/xzs/controller/wx/student/ExamPaperController.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/controller/wx/student/ExamPaperController.java b/src/main/java/com/mindskip/xzs/controller/wx/student/ExamPaperController.java index 37f7df0..969ae02 100644 --- a/src/main/java/com/mindskip/xzs/controller/wx/student/ExamPaperController.java +++ b/src/main/java/com/mindskip/xzs/controller/wx/student/ExamPaperController.java @@ -9,6 +9,7 @@ import com.mindskip.xzs.utility.DateTimeUtil; import com.mindskip.xzs.utility.PageInfoHelper; import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperEditRequestVM; +import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperEditRequestVO; import com.mindskip.xzs.viewmodel.student.exam.ExamPaperPageResponseVM; import com.mindskip.xzs.viewmodel.student.exam.ExamPaperPageVM; import com.github.pagehelper.PageInfo; @@ -35,9 +36,8 @@ @RequestMapping(value = "/select/{id}", method = RequestMethod.POST) - public RestResponse<ExamPaperEditRequestVM> select(@PathVariable Integer id) { - ExamPaperEditRequestVM vm = examPaperService.examPaperToVM(id); - return RestResponse.ok(vm); + public RestResponse<ExamPaperEditRequestVO> select(@PathVariable Integer id) { + return RestResponse.ok(examPaperService.examPaperToVM(id)); } -- Gitblit v1.8.0