| | |
| | | * 查询专病患者分类列表 |
| | | */ |
| | | @ApiOperation("查询专病患者分类列表") |
| | | @PreAuthorize("@ss.hasPermi('system:category:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:category:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatSpeciallistCategory patSpeciallistCategory) |
| | | { |
| | |
| | | * 导出专病患者分类列表 |
| | | */ |
| | | @ApiOperation("导出专病患者分类列表") |
| | | @PreAuthorize("@ss.hasPermi('system:category:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:category:export')") |
| | | @Log(title = "专病患者分类", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatSpeciallistCategory patSpeciallistCategory) |
| | |
| | | * 获取专病患者分类详细信息 |
| | | */ |
| | | @ApiOperation("获取专病患者分类详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:category:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:category:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | /** |
| | | * 新增专病患者分类 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:category:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:category:add')") |
| | | @Log(title = "专病患者分类", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatSpeciallistCategory patSpeciallistCategory) |
| | |
| | | * 修改专病患者分类 |
| | | */ |
| | | @ApiOperation("修改专病患者分类") |
| | | @PreAuthorize("@ss.hasPermi('system:category:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:category:edit')") |
| | | @Log(title = "专病患者分类", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatSpeciallistCategory patSpeciallistCategory) |
| | |
| | | * 删除专病患者分类 |
| | | */ |
| | | @ApiOperation("删除专病患者分类") |
| | | @PreAuthorize("@ss.hasPermi('system:category:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:category:remove')") |
| | | @Log(title = "专病患者分类", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |