| | |
| | | /** |
| | | * 查询疾病字典列表 |
| | | */ |
| | | @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, |
| | |
| | | /** |
| | | * 查询疾病字典列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:icd:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd:list')") |
| | | @GetMapping("/list") |
| | | @ApiOperation(value = "查询") |
| | | public TableDataInfo list(DictIcd dictIcd) { |
| | |
| | | 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 = "导出") |
| | |
| | | /** |
| | | * 获取疾病字典详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:icd:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd:query')") |
| | | @GetMapping(value = "/{id}") |
| | | @ApiOperation(value = "详细信息") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | |
| | | /** |
| | | * 新增疾病字典 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:icd:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd:add')") |
| | | @Log(title = "疾病字典", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @ApiOperation(value = "新增") |
| | |
| | | /** |
| | | * 修改疾病字典 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:icd:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd:edit')") |
| | | @Log(title = "疾病字典", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @ApiOperation(value = "修改") |
| | |
| | | /** |
| | | * 删除疾病字典 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:icd:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:icd:remove')") |
| | | @Log(title = "疾病字典", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @ApiOperation(value = "删除") |