kongzy
2024-06-26 daf7acb4f107a427e4a83ba1eb26e5e6012cbdaf
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" })