| | |
| | | * 查询捐献完成列表 |
| | | */ |
| | | @ApiOperation("查询捐献完成列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceDonatecompletioninfo serviceDonatecompletioninfo) { |
| | | log.info("查询捐献完成列表:{}", serviceDonatecompletioninfo); |
| | |
| | | * 导出捐献完成列表 |
| | | */ |
| | | @ApiOperation("导出捐献完成列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:export')") |
| | | @Log(title = "捐献完成", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonatecompletioninfo serviceDonatecompletioninfo) { |
| | |
| | | * 获取捐献完成详细信息 |
| | | */ |
| | | @ApiOperation("通过id获取某一条捐献完成信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("通过id获取某一条捐献完成信息:{}", id); |
| | |
| | | * 新增捐献完成 |
| | | */ |
| | | @ApiOperation("新增捐献完成") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") |
| | | @Log(title = "捐献完成", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit(interval = 5000) |
| | |
| | | // * 新增捐献完成详情 |
| | | // */ |
| | | // @ApiOperation("新增捐献完成详情") |
| | | // //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") |
| | | // //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") |
| | | // @Log(title = "新增捐献完成详情", businessType = BusinessType.INSERT) |
| | | // @PostMapping |
| | | // @RepeatSubmit(interval = 5000) |
| | |
| | | |
| | | @RepeatSubmit |
| | | @ApiOperation("新增或修改捐献完成") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") |
| | | @Log(title = "捐献完成", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/saveOrUpdateDonatecompletioninfo") |
| | | public AjaxResult saveOrUpdateDonatecompletioninfo(@RequestBody List<ServiceDonatecompletioninfo> serviceDonatecompletioninfoList) { |
| | |
| | | */ |
| | | @RepeatSubmit |
| | | @ApiOperation("修改捐献完成") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") |
| | | @Log(title = "捐献完成", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody ServiceDonatecompletioninfo serviceDonatecompletioninfo) { |
| | |
| | | * 删除捐献完成 |
| | | */ |
| | | @ApiOperation("删除捐献完成") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:remove')") |
| | | @Log(title = "捐献完成", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |