From 14821e28286d773ad5ff2c13510e39c5eb117daf Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: 星期五, 05 七月 2024 13:46:32 +0800
Subject: [PATCH] update

---
 exam-admin/src/main/java/com/gkhy/exam/admin/web/ExExamPaperController.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExExamPaperController.java b/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExExamPaperController.java
index 03bd53c..1e018ec 100644
--- a/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExExamPaperController.java
+++ b/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExExamPaperController.java
@@ -2,6 +2,7 @@
 
 
 import com.gkhy.exam.common.annotation.Log;
+import com.gkhy.exam.common.annotation.RepeatSubmit;
 import com.gkhy.exam.common.api.CommonResult;
 import com.gkhy.exam.common.enums.BusinessType;
 import com.gkhy.exam.system.domain.ExExamPaper;
@@ -46,6 +47,7 @@
         return CommonResult.success(examPaperService.selectExamPaperById(paperId));
     }
 
+    @RepeatSubmit
     @Log(title = "试卷管理", businessType = BusinessType.INSERT)
     @ApiOperation(value = "新增试卷")
     @PostMapping
@@ -53,6 +55,7 @@
         return CommonResult.success(examPaperService.insertExamPaper(examPaper));
     }
 
+    @RepeatSubmit
     @Log(title = "试卷管理", businessType = BusinessType.UPDATE)
     @ApiOperation(value = "编辑试卷")
     @PutMapping
@@ -60,6 +63,7 @@
         return CommonResult.success(examPaperService.updateExamPaper(examPaper));
     }
 
+    @RepeatSubmit
     @Log(title = "试卷管理", businessType = BusinessType.UPDATE)
     @ApiOperation(value = "删除试卷")
     @DeleteMapping(value = { "/{paperId}" })
@@ -67,13 +71,14 @@
         return CommonResult.success(examPaperService.deleteExamPaperById(paperId));
     }
 
-    @ApiOperation(value = "校验课程名称是否唯一")
+    @ApiOperation(value = "校验试卷名称是否唯一")
     @PostMapping("/checkNameUnique")
     public CommonResult checkNameUnique(@RequestBody ExExamPaper examPaper)
     {
         return CommonResult.success(examPaperService.checkNameUnique(examPaper));
     }
 
+    @RepeatSubmit
     @Log(title = "试卷管理", businessType = BusinessType.UPDATE)
     @ApiImplicitParams({
             @ApiImplicitParam(paramType = "body", name = "id", dataType = "long", required = false, value = "试卷id"),

--
Gitblit v1.9.2