| | |
| | | * 查询捐献器官移植列表 |
| | | */ |
| | | @ApiOperation("查询捐献器官移植列表") |
| | | // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:list')") |
| | | @PreAuthorize("@ss.hasPermi('project:donatecomporgan:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonatecomporgan serviceDonatecomporgan) { |
| | | startPage(); |
| | |
| | | * 导出捐献器官移植列表 |
| | | */ |
| | | @ApiOperation("导出捐献器官移植列表") |
| | | // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:export')") |
| | | @PreAuthorize("@ss.hasPermi('project:donatecomporgan:export')") |
| | | @Log(title = "捐献器官移植", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonatecomporgan serviceDonatecomporgan) { |
| | |
| | | * 获取捐献器官移植详细信息 |
| | | */ |
| | | @ApiOperation("获取捐献器官移植详细信息") |
| | | // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:query')") |
| | | @PreAuthorize("@ss.hasPermi('project:donatecomporgan:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceDonatecomporganService.getById(id)); |
| | |
| | | * 新增捐献器官移植 |
| | | */ |
| | | @ApiOperation("新增捐献器官移植") |
| | | // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:add')") |
| | | @PreAuthorize("@ss.hasPermi('project:donatecomporgan:add')") |
| | | @Log(title = "捐献器官移植", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献器官移植 |
| | | */ |
| | | @ApiOperation("修改捐献器官移植") |
| | | // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:edit')") |
| | | @PreAuthorize("@ss.hasPermi('project:donatecomporgan:edit')") |
| | | @Log(title = "捐献器官移植", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献器官移植 |
| | | */ |
| | | @ApiOperation("删除捐献器官移植") |
| | | // @PreAuthorize("@ss.hasPermi('project:donatecomporgan:remove')") |
| | | @PreAuthorize("@ss.hasPermi('project:donatecomporgan:remove')") |
| | | @Log(title = "捐献器官移植", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |