| | |
| | | * 查询指标选项库列表 |
| | | */ |
| | | @ApiOperation("查询指标选项库列表") |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:targetoption:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaTargetoption ivrLibaTargetoption) |
| | | { |
| | |
| | | * 导出指标选项库列表 |
| | | */ |
| | | @ApiOperation("导出指标选项库列表") |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:targetoption:export')") |
| | | @Log(title = "指标选项库", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaTargetoption ivrLibaTargetoption) |
| | |
| | | * 获取指标选项库详细信息 |
| | | */ |
| | | @ApiOperation("获取指标选项库详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:targetoption:query')") |
| | | @GetMapping(value = "/getInfo/{targetoptionid}") |
| | | public AjaxResult getInfo(@PathVariable("targetoptionid") Long targetoptionid) |
| | | { |
| | |
| | | * 新增指标选项库 |
| | | */ |
| | | @ApiOperation("新增指标选项库") |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:targetoption:add')") |
| | | @Log(title = "指标选项库", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTargetoption ivrLibaTargetoption) |
| | |
| | | * 修改指标选项库 |
| | | */ |
| | | @ApiOperation("修改指标选项库") |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:targetoption:edit')") |
| | | @Log(title = "指标选项库", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTargetoption ivrLibaTargetoption) |
| | |
| | | * 删除指标选项库 |
| | | */ |
| | | @ApiOperation("删除指标选项库") |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:targetoption:remove')") |
| | | @Log(title = "指标选项库", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{targetoptionids}") |
| | | public AjaxResult remove(@PathVariable Long[] targetoptionids) |