From daf7acb4f107a427e4a83ba1eb26e5e6012cbdaf Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: 星期三, 26 六月 2024 17:04:52 +0800
Subject: [PATCH] update

---
 exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCoursePhaseController.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCoursePhaseController.java b/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCoursePhaseController.java
index 25d25bb..c32a469 100644
--- a/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCoursePhaseController.java
+++ b/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCoursePhaseController.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.ExCoursePhase;
@@ -47,6 +48,7 @@
         return CommonResult.success(coursePhaseService.selectCoursePhaseById(phaseId));
     }
 
+    @RepeatSubmit
     @Log(title = "批次管理", businessType = BusinessType.INSERT)
     @ApiOperation(value = "新增批次")
     @PostMapping
@@ -54,6 +56,7 @@
         return CommonResult.success(coursePhaseService.insertCoursePhase(coursePhase));
     }
 
+    @RepeatSubmit
     @Log(title = "批次管理", businessType = BusinessType.UPDATE)
     @ApiOperation(value = "编辑批次")
     @PutMapping
@@ -61,6 +64,7 @@
         return CommonResult.success(coursePhaseService.updateCoursePhase(coursePhase));
     }
 
+    @RepeatSubmit
     @Log(title = "批次管理", businessType = BusinessType.UPDATE)
     @ApiOperation(value = "删除批次")
     @DeleteMapping(value = { "/{phaseId}" })

--
Gitblit v1.9.2