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