| | |
| | | * 新增规章制度 |
| | | */ |
| | | @ApiOperation("新增规章制度") |
| | | // @PreAuthorize("@ss.hasPermi('oa:rules:add')") |
| | | @PreAuthorize("@ss.hasPermi('oa:rules:add')") |
| | | @Log(title = "规章制度", businessType = BusinessType.INSERT) |
| | | @RepeatSubmit() |
| | | @PostMapping() |
| | |
| | | * 修改规章制度 |
| | | */ |
| | | @ApiOperation("修改规章制度") |
| | | // @PreAuthorize("@ss.hasPermi('oa:rules:edit')") |
| | | @PreAuthorize("@ss.hasPermi('oa:rules:edit')") |
| | | @Log(title = "规章制度", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping() |
| | |
| | | * 删除规章制度 |
| | | */ |
| | | @ApiOperation("删除规章制度") |
| | | // @PreAuthorize("@ss.hasPermi('oa:rules:remove')") |
| | | @PreAuthorize("@ss.hasPermi('oa:rules:remove')") |
| | | @Log(title = "规章制度" , businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult<Void> remove(@ApiParam("主键串") |