| | |
| | | /** |
| | | * 查询考评管理列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:evaluation:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:evaluation:list')") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"), |
| | | @ApiImplicitParam(paramType = "query", name = "pageSize", dataType = "int", required = false, value = "每页数目,默认10,最大50") |
| | |
| | | /** |
| | | * 新增考评管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:evaluation:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:evaluation:add')") |
| | | @PostMapping("/add") |
| | | @ApiOperation(value = "新增考评管理") |
| | | public AjaxResult add(@Validated @RequestBody Evaluation evaluation) { |
| | |
| | | /** |
| | | * 修改考评管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:evaluation:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:evaluation:edit')") |
| | | @PutMapping("/edit") |
| | | @ApiOperation(value = "修改考评管理") |
| | | public AjaxResult edit(@Validated @RequestBody Evaluation evaluation) { |
| | |
| | | /** |
| | | * 删除考评管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:evaluation:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:evaluation:remove')") |
| | | @DeleteMapping("/{ids}") |
| | | @ApiOperation(value = "删除考评管理") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |