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/ExPhaseStudentController.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExPhaseStudentController.java b/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExPhaseStudentController.java index bdf5d2e..512a48c 100644 --- a/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExPhaseStudentController.java +++ b/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExPhaseStudentController.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.ExPhaseStudent; @@ -43,6 +44,7 @@ return CommonResult.success(phaseStudentService.selectPhaseStudentList(phaseStudent)); } + @RepeatSubmit @Log(title = "批次与学员关系管理", businessType = BusinessType.INSERT) @ApiOperation(value = "新增学员") @PostMapping @@ -50,6 +52,7 @@ return CommonResult.success(phaseStudentService.addPhaseStudent(phaseStudent)); } + @RepeatSubmit @Log(title = "批次与学员关系管理", businessType = BusinessType.UPDATE) @ApiOperation(value = "批量新增学员") @PostMapping("/batchAdd") @@ -57,6 +60,7 @@ return CommonResult.success(phaseStudentService.batchAddPhaseStudent(phaseStudents)); } + @RepeatSubmit @Log(title = "批次与学员关系管理", businessType = BusinessType.UPDATE) @ApiOperation(value = "删除学员") @DeleteMapping(value = { "/{phaseStudentId}" }) @@ -64,6 +68,7 @@ return CommonResult.success(phaseStudentService.deletePhaseStudent(phaseStudentId)); } + @RepeatSubmit @Log(title = "批次与学员关系管理", businessType = BusinessType.UPDATE) @ApiOperation(value = "批量删除学员") @DeleteMapping(value = { "/batchDelete" }) -- Gitblit v1.9.2