| | |
| | | /** |
| | | * 查询药品项目列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:ypdm:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:ypdm:list')") |
| | | @GetMapping("/list") |
| | | @ApiOperation(value = "查询") |
| | | public TableDataInfo list(DictYpdm dictYpdm) { |
| | |
| | | /** |
| | | * 导出药品项目列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:ypdm:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:ypdm:export')") |
| | | @Log(title = "药品项目", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | @ApiOperation(value = "导出") |
| | |
| | | /** |
| | | * 获取药品项目详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:ypdm:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:ypdm:query')") |
| | | @GetMapping(value = "/{id}") |
| | | @ApiOperation(value = "详细信息") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | |
| | | /** |
| | | * 新增药品项目 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:ypdm:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:ypdm:add')") |
| | | @Log(title = "药品项目", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @ApiOperation(value = "新增") |
| | |
| | | /** |
| | | * 修改药品项目 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:ypdm:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:ypdm:edit')") |
| | | @Log(title = "药品项目", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @ApiOperation(value = "修改") |
| | |
| | | /** |
| | | * 删除药品项目 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:ypdm:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:ypdm:remove')") |
| | | @Log(title = "药品项目", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @ApiOperation(value = "删除") |