From 4d3dc99a8ec98e18609f2dca23a6a28fd25069fc Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 23 十月 2024 16:55:27 +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