| | |
| | | */ |
| | | @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.removeTeacherById(id); |
| | | } |
| | |
| | | */ |
| | | @ApiOperation(value = "根据id删除与之关联的工种信息",httpMethod = "GET") |
| | | @ApiImplicitParam(name = "id",dataTypeClass = Long.class,value = "关联的工种id",required = true) |
| | | @GetMapping("/operateType/del") |
| | | @GetMapping("/operateType/del/{id}") |
| | | public AjaxResult deleteTeacherBindOperateType(@PathVariable @NotNull(message = "id不能为空") Long id) { |
| | | return this.eduResourcesManagerService.deleteTeacherBindOperateType(id); |
| | | } |