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