From 96843a82d05817c656ebca8d6d0b02b56065cf08 Mon Sep 17 00:00:00 2001
From: zjh <1084500556@qq.com>
Date: 星期五, 23 二月 2024 14:16:59 +0800
Subject: [PATCH] zjh 2024/02/23--1

---
 ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictIcdController.java |   26 +++++++++++++++++++-------
 1 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictIcdController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictIcdController.java
index 107cb1f..a74c669 100644
--- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictIcdController.java
+++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictIcdController.java
@@ -37,7 +37,7 @@
     /**
      * 鏌ヨ鐤剧梾瀛楀吀鍒楄〃
      */
-    @PreAuthorize("@ss.hasPermi('system:icd:list')")
+    //@PreAuthorize("@ss.hasPermi('system:icd:list')")
     @GetMapping("/getList")
     @ApiOperation(value = "鍥㈡缁熻椤甸潰鏌ヨ鐤剧梾鎺ュ彛")
     public AjaxResult getList(@ApiParam(value = "鍚嶇О") @RequestParam(required = false) String name,
@@ -57,7 +57,7 @@
     /**
      * 鏌ヨ鐤剧梾瀛楀吀鍒楄〃
      */
-    @PreAuthorize("@ss.hasPermi('system:icd:list')")
+    //@PreAuthorize("@ss.hasPermi('system:icd:list')")
     @GetMapping("/list")
     @ApiOperation(value = "鏌ヨ")
     public TableDataInfo list(DictIcd dictIcd) {
@@ -66,10 +66,22 @@
         return getDataTable(list);
     }
 
+
+    /**
+     * 鏌ヨ鐤剧梾瀛楀吀鍒楄〃
+     */
+    //@PreAuthorize("@ss.hasPermi('system:icd:list')")
+    @GetMapping("/getAllList")
+    @ApiOperation(value = "涓嶅垎椤垫煡璇�")
+    public AjaxResult getAllList(DictIcd dictIcd) {
+        List<DictIcd> list = dictIcdService.selectDictIcdList(dictIcd);
+        return AjaxResult.success(list);
+    }
+
     /**
      * 瀵煎嚭鐤剧梾瀛楀吀鍒楄〃
      */
-    @PreAuthorize("@ss.hasPermi('system:icd:export')")
+    //@PreAuthorize("@ss.hasPermi('system:icd:export')")
     @Log(title = "鐤剧梾瀛楀吀", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     @ApiOperation(value = "瀵煎嚭")
@@ -82,7 +94,7 @@
     /**
      * 鑾峰彇鐤剧梾瀛楀吀璇︾粏淇℃伅
      */
-    @PreAuthorize("@ss.hasPermi('system:icd:query')")
+    //@PreAuthorize("@ss.hasPermi('system:icd:query')")
     @GetMapping(value = "/{id}")
     @ApiOperation(value = "璇︾粏淇℃伅")
     public AjaxResult getInfo(@PathVariable("id") Long id) {
@@ -92,7 +104,7 @@
     /**
      * 鏂板鐤剧梾瀛楀吀
      */
-    @PreAuthorize("@ss.hasPermi('system:icd:add')")
+    //@PreAuthorize("@ss.hasPermi('system:icd:add')")
     @Log(title = "鐤剧梾瀛楀吀", businessType = BusinessType.INSERT)
     @PostMapping
     @ApiOperation(value = "鏂板")
@@ -103,7 +115,7 @@
     /**
      * 淇敼鐤剧梾瀛楀吀
      */
-    @PreAuthorize("@ss.hasPermi('system:icd:edit')")
+    //@PreAuthorize("@ss.hasPermi('system:icd:edit')")
     @Log(title = "鐤剧梾瀛楀吀", businessType = BusinessType.UPDATE)
     @PutMapping
     @ApiOperation(value = "淇敼")
@@ -114,7 +126,7 @@
     /**
      * 鍒犻櫎鐤剧梾瀛楀吀
      */
-    @PreAuthorize("@ss.hasPermi('system:icd:remove')")
+    //@PreAuthorize("@ss.hasPermi('system:icd:remove')")
     @Log(title = "鐤剧梾瀛楀吀", businessType = BusinessType.DELETE)
     @DeleteMapping("/{ids}")
     @ApiOperation(value = "鍒犻櫎")

--
Gitblit v1.8.0