zhaowenxuan
2024-12-26 045dc3a1be1c2980458c6cf20de9e2f2efe7e15d
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 = "删除")