| | |
| | | * 查询捐献附件列表 |
| | | */ |
| | | @ApiOperation("附件管理列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannex:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannex:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonateannex serviceDonateannex) { |
| | | log.info("附件管理列表:{}", serviceDonateannex); |
| | |
| | | * 导出捐献附件列表 |
| | | */ |
| | | @ApiOperation("导出捐献附件列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannex:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannex:export')") |
| | | @Log(title = "捐献附件", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonateannex serviceDonateannex) { |
| | |
| | | * 获取捐献附件详细信息 |
| | | */ |
| | | @ApiOperation("通过id获得捐献附件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannex:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannex:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("通过id获得捐献附件信息:{}", id); |
| | |
| | | * 新增捐献附件 |
| | | */ |
| | | @ApiOperation("新增捐献附件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannex:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannex:add')") |
| | | @Log(title = "捐献附件", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody List<ServiceDonateannex> serviceDonateannexs) { |
| | | public TableDataInfo add(@RequestBody List<ServiceDonateannex> serviceDonateannexs) { |
| | | log.info("新增捐献附件信息:{}", serviceDonateannexs.size()); |
| | | return toAjax(serviceDonateannexService.saveData(serviceDonateannexs)); |
| | | return getDataTable(serviceDonateannexService.saveData(serviceDonateannexs)); |
| | | } |
| | | |
| | | /** |
| | | * 修改捐献附件 |
| | | */ |
| | | @ApiOperation("修改捐献附件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannex:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannex:edit')") |
| | | @Log(title = "捐献附件", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 修改捐献附件 |
| | | */ |
| | | @ApiOperation("修改潜在捐献、伦理审查、完成登记、医学评估附件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannex:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannex:edit')") |
| | | @Log(title = "捐献附件", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/editannexfiles") |
| | | @RepeatSubmit |
| | |
| | | * 删除捐献附件 |
| | | */ |
| | | @ApiOperation("删除捐献文件信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateannex:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donateannex:remove')") |
| | | @Log(title = "捐献附件", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |