From c42f62b32bac302a7ac9fcde7489f7c5fc6e11aa Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期五, 06 十二月 2024 15:35:17 +0800 Subject: [PATCH] zjh20241205-3 --- ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjConsumablesController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjConsumablesController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjConsumablesController.java index 33f5794..e408041 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjConsumablesController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjConsumablesController.java @@ -37,7 +37,7 @@ /** * 鏌ヨ浣撴鑰楁潗鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:list')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:list')") @GetMapping("/list") public TableDataInfo list(TjConsumables tjConsumables) { startPage(); @@ -48,7 +48,7 @@ /** * 瀵煎嚭浣撴鑰楁潗鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:export')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:export')") @Log(title = "浣撴鑰楁潗", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjConsumables tjConsumables) { @@ -60,7 +60,7 @@ /** * 鑾峰彇浣撴鑰楁潗璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:query')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return success(tjConsumablesService.selectTjConsumablesById(id)); @@ -69,7 +69,7 @@ /** * 鏂板浣撴鑰楁潗 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:add')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:add')") @Log(title = "浣撴鑰楁潗", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TjConsumables tjConsumables) { @@ -79,7 +79,7 @@ /** * 淇敼浣撴鑰楁潗 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:edit')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:edit')") @Log(title = "浣撴鑰楁潗", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TjConsumables tjConsumables) { @@ -89,7 +89,7 @@ /** * 鍒犻櫎浣撴鑰楁潗 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:remove')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:remove')") @Log(title = "浣撴鑰楁潗", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { -- Gitblit v1.8.0