|  |  | 
 |  |  |  * 模板科室关联Controller | 
 |  |  |  * | 
 |  |  |  * @author lihu | 
 |  |  |  * @date 2025-02-24 | 
 |  |  |  * @date 2025-02-25 | 
 |  |  |  */ | 
 |  |  | @Api("模板科室关联") | 
 |  |  | @Api("手术模板科室关联") | 
 |  |  | @RestController | 
 |  |  | @RequestMapping("/smartor/taskoper") | 
 |  |  | public class ServiceTaskoperController extends BaseController | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     @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)); | 
 |  |  |     } | 
 |  |  | } |