From a2d12d52275c9fc34277d3e41c662a5ea9fb597f Mon Sep 17 00:00:00 2001 From: lige <bestlige@outlook.com> Date: 星期三, 24 一月 2024 10:11:44 +0800 Subject: [PATCH] 报告合并判断心电图和附件 --- 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