| | |
| | | * @author lihu |
| | | * @date 2025-02-24 |
| | | */ |
| | | @Api("模板科室关联") |
| | | @Api("诊断模板科室关联") |
| | | @RestController |
| | | @RequestMapping("/smartor/taskdiag") |
| | | public class ServiceTaskdiagController extends BaseController |
| | |
| | | */ |
| | | @ApiOperation("查询模板科室关联列表") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:taskdiag:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceTaskdiag serviceTaskdiag) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody ServiceTaskdiag serviceTaskdiag) |
| | | { |
| | | startPage(); |
| | | List<ServiceTaskdiag> list = serviceTaskdiagService.selectServiceTaskdiagList(serviceTaskdiag); |
| | |
| | | @ApiOperation("删除模板科室关联") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:taskdiag: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(serviceTaskdiagService.deleteServiceTaskdiagByIds(ids)); |
| | | return toAjax(serviceTaskdiagService.deleteServiceTaskdiagById(id)); |
| | | } |
| | | } |