| | |
| | | * 查询器官分配列表 |
| | | */ |
| | | @ApiOperation("器官分配信息列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organallocation:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceOrganallocation serviceOrganallocation) { |
| | | startPage(); |
| | |
| | | * 导出器官分配列表 |
| | | */ |
| | | @ApiOperation("导出器官分配信息列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organallocation:export')") |
| | | @Log(title = "器官分配", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceOrganallocation serviceOrganallocation) { |
| | |
| | | * 获取器官分配详细信息 |
| | | */ |
| | | @ApiOperation("通过id获取器官分配信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organallocation:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceOrganallocationService.getById(id)); |
| | |
| | | * 新增器官分配 |
| | | */ |
| | | @ApiOperation("新增器官分配信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organallocation:add')") |
| | | @Log(title = "器官分配", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @NotRepeatCommit(key = "param:arg[1]", value = 30000) |
| | |
| | | * 修改器官分配 |
| | | */ |
| | | @ApiOperation("修改器官分配信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organallocation:edit')") |
| | | @Log(title = "器官分配", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 修改器官分配 |
| | | */ |
| | | @ApiOperation("修改器官分配信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organallocation:edit')") |
| | | @Log(title = "器官分配", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/editarraydata") |
| | | @RepeatSubmit |
| | |
| | | * 删除器官分配 |
| | | */ |
| | | @ApiOperation("删除器官分配信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organallocation:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organallocation:remove')") |
| | | @Log(title = "器官分配", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |