唐耀东
2022-07-22 e1335613b6ef737fb9aed6080f42d6bd6cf2197e
提交代码
1个文件已修改
6 ■■■■ 已修改文件
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/BsRulesController.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/BsRulesController.java
@@ -81,7 +81,7 @@
     * 新增规章制度
     */
    @ApiOperation("新增规章制度")
//    @PreAuthorize("@ss.hasPermi('oa:rules:add')")
    @PreAuthorize("@ss.hasPermi('oa:rules:add')")
    @Log(title = "规章制度", businessType = BusinessType.INSERT)
    @RepeatSubmit()
    @PostMapping()
@@ -93,7 +93,7 @@
     * 修改规章制度
     */
    @ApiOperation("修改规章制度")
//    @PreAuthorize("@ss.hasPermi('oa:rules:edit')")
    @PreAuthorize("@ss.hasPermi('oa:rules:edit')")
    @Log(title = "规章制度", businessType = BusinessType.UPDATE)
    @RepeatSubmit()
    @PutMapping()
@@ -105,7 +105,7 @@
     * 删除规章制度
     */
    @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("主键串")