| | |
| | | /** |
| | | * 导出体检项目列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:project:export')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:project:export')") |
| | | @Log(title = "体检项目", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | @ApiOperation(value = "导出体检项目列表") |
| | |
| | | /** |
| | | * 获取体检项目详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:project:query')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:project:query')") |
| | | @GetMapping(value = "/{proId}") |
| | | @ApiOperation(value = "获取体检项目详细信息") |
| | | public AjaxResult getInfo(@PathVariable("proId") @ApiParam(value = "体检项目id") Long proId) { |
| | |
| | | /** |
| | | * 新增体检项目 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:project:add')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:project:add')") |
| | | @ApiOperation(value = "新增体检项目") |
| | | @Log(title = "体检项目", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | |
| | | /** |
| | | * 修改体检项目 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:project:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:project:edit')") |
| | | @Log(title = "体检项目", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @ApiOperation(value = "修改体检项目") |
| | |
| | | /** |
| | | * 删除体检项目 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:project:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:project:remove')") |
| | | @Log(title = "体检项目", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{proIds}") |
| | | @ApiOperation(value = "删除体检项目(可删除父项目和子项目)") |