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