| | |
| | | * 查询指标分类列表 |
| | | */ |
| | | @ApiOperation("查询指标分类列表") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:assort:list')") |
| | | @PostMapping("/selectIvrLibaTargetAssortList") |
| | | public TableDataInfo list(@RequestBody IvrLibaTargetAssort ivrLibaTargetAssort) { |
| | | // PageUtils.startPageByPost(ivrLibaTargetAssort.getPageNum(), ivrLibaTargetAssort.getPageSize()); |
| | |
| | | * 导出指标分类列表 |
| | | */ |
| | | @ApiOperation("导出指标分类列表") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:assort:export')") |
| | | @Log(title = "指标分类", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaTargetAssort ivrLibaTargetAssort) { |
| | |
| | | * 获取指标分类详细信息 |
| | | */ |
| | | @ApiOperation("获取指标分类详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:assort:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(ivrLibaTargetAssortService.selectIvrLibaTargetAssortById(id)); |
| | |
| | | * 新增指标分类 |
| | | */ |
| | | @ApiOperation("新增指标分类") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:assort:add')") |
| | | @Log(title = "指标分类", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTargetAssort ivrLibaTargetAssort) { |
| | |
| | | /** |
| | | * 新增指标分类树 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:assort:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:assort:add')") |
| | | @Log(title = "指标分类", businessType = BusinessType.INSERT) |
| | | @ApiOperation("新增指标分类树") |
| | | @PostMapping("/addtree") |
| | |
| | | * 修改指标分类 |
| | | */ |
| | | @ApiOperation("修改指标分类") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:assort:edit')") |
| | | @Log(title = "指标分类", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTargetAssort ivrLibaTargetAssort) { |
| | |
| | | * 删除指标分类 |
| | | */ |
| | | @ApiOperation("删除指标分类") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:assort:remove')") |
| | | @Log(title = "指标分类", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |