From 5fb5605185db191834d2e98bc9f6e7bfa7af47c8 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期一, 25 三月 2024 18:10:09 +0800 Subject: [PATCH] 事前事后报备增加筛选条件 --- ycl-server/src/main/java/com/ycl/platform/controller/AccountingRulesController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ycl-server/src/main/java/com/ycl/platform/controller/AccountingRulesController.java b/ycl-server/src/main/java/com/ycl/platform/controller/AccountingRulesController.java index dba521e..3f10f75 100644 --- a/ycl-server/src/main/java/com/ycl/platform/controller/AccountingRulesController.java +++ b/ycl-server/src/main/java/com/ycl/platform/controller/AccountingRulesController.java @@ -30,7 +30,7 @@ /** * 鏌ヨ鏍哥畻瑙勫垯鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('platform:rules:list')") +// @PreAuthorize("@ss.hasPermi('platform:rules:list')") @GetMapping("/list") public TableDataInfo list(AccountingRules accountingRules) { startPage(); @@ -41,7 +41,7 @@ /** * 瀵煎嚭鏍哥畻瑙勫垯鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('platform:rules:export')") +// @PreAuthorize("@ss.hasPermi('platform:rules:export')") @Log(title = "鏍哥畻瑙勫垯", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, AccountingRules accountingRules) { @@ -53,7 +53,7 @@ /** * 鑾峰彇鏍哥畻瑙勫垯璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('platform:rules:query')") +// @PreAuthorize("@ss.hasPermi('platform:rules:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Integer id) { return success(accountingRulesService.selectAccountingRulesById(id)); @@ -62,7 +62,7 @@ /** * 鏂板鏍哥畻瑙勫垯 */ - @PreAuthorize("@ss.hasPermi('platform:rules:add')") +// @PreAuthorize("@ss.hasPermi('platform:rules:add')") @Log(title = "鏍哥畻瑙勫垯", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody AccountingRules accountingRules) { @@ -72,7 +72,7 @@ /** * 淇敼鏍哥畻瑙勫垯 */ - @PreAuthorize("@ss.hasPermi('platform:rules:edit')") +// @PreAuthorize("@ss.hasPermi('platform:rules:edit')") @Log(title = "鏍哥畻瑙勫垯", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody AccountingRules accountingRules) { @@ -82,7 +82,7 @@ /** * 鍒犻櫎鏍哥畻瑙勫垯 */ - @PreAuthorize("@ss.hasPermi('platform:rules:remove')") +// @PreAuthorize("@ss.hasPermi('platform:rules:remove')") @Log(title = "鏍哥畻瑙勫垯", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Integer[] ids) { -- Gitblit v1.8.0