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/ExamController.java | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/controller/admin/ExamController.java b/src/main/java/com/ycl/jxkg/controller/admin/ExamController.java index 9e46068..4729816 100644 --- a/src/main/java/com/ycl/jxkg/controller/admin/ExamController.java +++ b/src/main/java/com/ycl/jxkg/controller/admin/ExamController.java @@ -124,4 +124,17 @@ return examService.forceSubmit(form); } + @PutMapping("/cancel/{id}") + @ApiOperation(value = "浣滃簾", notes = "浣滃簾") + @PreAuthorize("hasAuthority('exam:cacel')") + public Result cancel(@PathVariable("id") Integer id) { + return examService.cancel(id); + } + + @PutMapping("/recover/{id}") + @ApiOperation(value = "鎭㈠姝e父", notes = "鎭㈠姝e父") + @PreAuthorize("hasAuthority('exam:recover')") + public Result recover(@PathVariable("id") Integer id) { + return examService.recover(id); + } } -- Gitblit v1.8.0