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