| | |
| | | * 查询捐献附件要求列表 |
| | | */ |
| | | @ApiOperation("捐献要求附件管理列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonateannexrequirement serviceDonateannexrequirement) { |
| | | log.info("捐献要求附件管理列表:{}", serviceDonateannexrequirement); |
| | |
| | | * 导出捐献附件要求列表 |
| | | */ |
| | | @ApiOperation("导出捐献要求附件管理列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:export')") |
| | | @Log(title = "捐献附件要求", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonateannexrequirement serviceDonateannexrequirement) { |
| | |
| | | * 获取捐献附件要求详细信息 |
| | | */ |
| | | @ApiOperation("通过id获取捐献要求附件") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("通过id获取捐献要求附件:{}", id); |
| | |
| | | * 新增捐献附件要求 |
| | | */ |
| | | @ApiOperation("新增捐献要求附件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:add')") |
| | | @Log(title = "捐献附件要求", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody ServiceDonateannexrequirement serviceDonateannexrequirement) { |
| | | log.info("新增捐献要求附件信息:{}", serviceDonateannexrequirement); |
| | | return toAjax(serviceDonateannexrequirementService.save(serviceDonateannexrequirement)); |
| | | boolean save = serviceDonateannexrequirementService.save(serviceDonateannexrequirement); |
| | | log.info("新增捐献要求附件信息serviceDonateannexrequirement的ID为:{}", serviceDonateannexrequirement); |
| | | return AjaxResult.success(serviceDonateannexrequirement); |
| | | } |
| | | |
| | | /** |
| | | * 修改捐献附件要求 |
| | | */ |
| | | @ApiOperation("修改捐献要求附件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:edit')") |
| | | @Log(title = "捐献附件要求", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献附件要求 |
| | | */ |
| | | @ApiOperation("删除捐献要求附件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannexrequirement:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannexrequirement:remove')") |
| | | @Log(title = "捐献附件要求", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |