| | |
| | | /** |
| | | * 查询指标标签列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:tag:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:tag:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaTargetTag ivrLibaTargetTag) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 导出指标标签列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:tag:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:tag:export')") |
| | | @Log(title = "指标标签", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaTargetTag ivrLibaTargetTag) { |
| | |
| | | /** |
| | | * 获取指标标签详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:tag:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:tag:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(ivrLibaTargetTagService.selectIvrLibaTargetTagById(id)); |
| | |
| | | /** |
| | | * 新增指标标签 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:tag:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:tag:add')") |
| | | @Log(title = "指标标签", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTargetTag ivrLibaTargetTag) { |
| | |
| | | /** |
| | | * 修改指标标签 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:tag:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:tag:edit')") |
| | | @Log(title = "指标标签", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTargetTag ivrLibaTargetTag) { |
| | |
| | | /** |
| | | * 删除指标标签 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:tag:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:tag:remove')") |
| | | @Log(title = "指标标签", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |