| | |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.bean.DtoConversionUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.project.domain.ServiceOrganallocation; |
| | | import com.ruoyi.project.service.IServiceOrganallocationService; |
| | |
| | | @ApiOperation("修改器官分配信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:edit')") |
| | | @Log(title = "器官分配", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody ServiceOrganallocation serviceOrganallocation) |
| | | { |
| | |
| | | @ApiOperation("删除器官分配信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:remove')") |
| | | @Log(title = "器官分配", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(serviceOrganallocationService.removeByIds(Arrays.asList(ids))); |