| | |
| | | */ |
| | | @ApiOperation("查询模板科室关联列表") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:taskoper:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceTaskoper serviceTaskoper) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody ServiceTaskoper serviceTaskoper) |
| | | { |
| | | startPage(); |
| | | List<ServiceTaskoper> list = serviceTaskoperService.selectServiceTaskoperList(serviceTaskoper); |
| | |
| | | @ApiOperation("删除模板科室关联") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:taskoper:remove')") |
| | | @Log(title = "模板科室关联", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | @GetMapping("/remove/{id}") |
| | | public AjaxResult remove(@PathVariable Long id) |
| | | { |
| | | return toAjax(serviceTaskoperService.deleteServiceTaskoperByIds(ids)); |
| | | return toAjax(serviceTaskoperService.deleteServiceTaskoperById(id)); |
| | | } |
| | | } |