| | |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('system:tag:edit')") |
| | | @Log(title = "指标标签", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | public AjaxResult edit(@RequestBody HeLibraryTag heLibraryTag) { |
| | | return toAjax(heLibraryTagService.updateHeLibraryTag(heLibraryTag)); |
| | |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('system:tag:remove')") |
| | | @Log(title = "指标标签", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(heLibraryTagService.deleteHeLibraryTagByIds(ids)); |
| | | } |