教育训练处考试制证系统后端
zf
2023-09-28 05a54025b1ae843f9d21a4450ec05c9e420e7f24
exam-system/src/main/java/com/gkhy/exam/coalmine/controller/ExaminerManageController.java
@@ -44,9 +44,9 @@
     */
    @ApiOperation(value = "分页获取考评员管理",httpMethod = "GET")
    @GetMapping("/page")
    public TableDataInfo selectAll() {
    public TableDataInfo selectAll(@RequestParam @NotNull(message = "isCm不能为空") Integer isCm) {
        startPage();
        List<GetExaminerRespDTO> list = eduResourcesManagerService.selectAll();
        List<GetExaminerRespDTO> list = eduResourcesManagerService.selectAll(isCm);
        return getDataTable(list);
    }
@@ -127,7 +127,7 @@
     */
    @ApiOperation(value = "根据id删除考评员",httpMethod = "GET")
    @ApiImplicitParam(name = "id",dataTypeClass = Long.class,value = "考评员id",required = true)
    @GetMapping("/del")
    @GetMapping("/del/{id}")
    public AjaxResult delete(@PathVariable @NotNull(message = "id不能为空") Long id) {
        return this.eduResourcesManagerService.removeExaminerById(id);
    }
@@ -137,7 +137,7 @@
     */
    @ApiOperation(value = "根据id删除与之关联的工种信息",httpMethod = "GET")
    @ApiImplicitParam(name = "id",dataTypeClass = Long.class,value = "关联的工种id",required = true)
    @GetMapping("/operateType/del")
    @GetMapping("/operateType/del/{id}")
    public AjaxResult deleteExaminerBindOperateType(@PathVariable @NotNull(message = "id不能为空") Long id) {
        return this.eduResourcesManagerService.deleteExaminerBindOperateType(id);
    }