| | |
| | | /** |
| | | * 查询患者档案标签列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archivetag:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:archivetag:list')") |
| | | @PostMapping("/list") |
| | | @ApiOperation("查询患者档案标签列表") |
| | | public TableDataInfo list(@RequestBody PatArchivetag patArchivetag) { |
| | |
| | | /** |
| | | * 导出患者档案标签列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archivetag:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:archivetag:export')") |
| | | @PostMapping("/export") |
| | | @ApiOperation("导出患者档案标签列表") |
| | | public void export(HttpServletResponse response, PatArchivetag patArchivetag) { |
| | |
| | | * 获取患者档案标签详细信息 |
| | | */ |
| | | @ApiOperation("获取患者档案标签详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:archivetag:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:archivetag:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(patArchivetagService.selectPatArchivetagById(id)); |
| | |
| | | /** |
| | | * 新增患者档案标签 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archivetag:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:archivetag:add')") |
| | | @ApiOperation("新增患者档案标签") |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatArchivetag patArchivetag) { |
| | |
| | | /** |
| | | * 修改患者档案标签 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archivetag:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:archivetag:edit')") |
| | | @ApiOperation("修改患者档案标签") |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatArchivetag patArchivetag) { |
| | |
| | | /** |
| | | * 删除患者档案标签 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archivetag:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:archivetag:remove')") |
| | | @ApiOperation("删除患者档案标签") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |