| | |
| | | return toAjax(serviceDonateorganService.save(serviceDonateorgan)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 新增捐献器官管理 |
| | | */ |
| | | @ApiOperation("新增捐献器官信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:donateorgan:add')") |
| | | @Log(title = "捐献器官管理", businessType = BusinessType.INSERT) |
| | | @PostMapping("/addData") |
| | | @RepeatSubmit |
| | | public TableDataInfo addData(@RequestBody List<ServiceDonateorgan> serviceDonateorgans) { |
| | | List<ServiceDonateorgan> serviceDonateorgans1 = serviceDonateorganService.saveData(serviceDonateorgans); |
| | | return saveDataTable(serviceDonateorgans1); |
| | | } |
| | | |
| | | /** |
| | | * 修改捐献器官管理 |
| | | */ |