| | |
| | | @ApiOperation("修改捐献完成") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") |
| | | @Log(title = "捐献完成", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody ServiceDonatecompletioninfo serviceDonatecompletioninfo) |
| | | { |
| | | return toAjax(serviceDonatecompletioninfoService.updateById(serviceDonatecompletioninfo)); |
| | |
| | | @ApiOperation("删除捐献完成") |
| | | //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:remove')") |
| | | @Log(title = "捐献完成", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(serviceDonatecompletioninfoService.removeByIds(Arrays.asList(ids))); |