From 093fac278c7931e8160209a428729d5a82d5cd72 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期日, 27 十月 2024 21:29:09 +0800 Subject: [PATCH] 一个班级可以有多个老师 --- src/main/java/com/ycl/jxkg/controller/admin/ExamPaperController.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/controller/admin/ExamPaperController.java b/src/main/java/com/ycl/jxkg/controller/admin/ExamPaperController.java index 7165840..947e312 100644 --- a/src/main/java/com/ycl/jxkg/controller/admin/ExamPaperController.java +++ b/src/main/java/com/ycl/jxkg/controller/admin/ExamPaperController.java @@ -70,11 +70,13 @@ return Result.ok(); } + @RequestMapping(value = "/selectQuestion/{id}", method = RequestMethod.POST) public Result<ExamPaperQuestion> selectQuestion(@PathVariable Integer id) { ExamPaperQuestion vo = examPaperQuestionService.selectById(id); return Result.ok(vo); } + @RequestMapping(value = "/select/{id}", method = RequestMethod.POST) public Result<ExamPaperEditRequestVO> select(@PathVariable Integer id) { ExamPaperEditRequestVO vm = examPaperService.examPaperToVM(id); -- Gitblit v1.8.0