| | |
| | | /** |
| | | * 查询模板科室关联列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:relevance:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:relevance:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(TempDetpRelevance tempDetpRelevance) |
| | | { |
| | |
| | | /** |
| | | * 导出模板科室关联列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:relevance:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:relevance:export')") |
| | | @Log(title = "模板科室关联", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, TempDetpRelevance tempDetpRelevance) |
| | |
| | | /** |
| | | * 获取模板科室关联详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:relevance:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:relevance:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | /** |
| | | * 新增模板科室关联 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:relevance:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:relevance:add')") |
| | | @Log(title = "模板科室关联", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody TempDetpRelevance tempDetpRelevance) |
| | |
| | | /** |
| | | * 修改模板科室关联 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:relevance:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:relevance:edit')") |
| | | @Log(title = "模板科室关联", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody TempDetpRelevance tempDetpRelevance) |
| | |
| | | /** |
| | | * 删除模板科室关联 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:relevance:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:relevance:remove')") |
| | | @Log(title = "模板科室关联", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |