| | |
| | | import com.ruoyi.common.utils.PageUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.IvrLibaTarget; |
| | | import com.smartor.domain.IvrLibaTargetAssort; |
| | | import com.smartor.domain.IvrLibaTargetVO; |
| | | import com.smartor.service.IIvrLibaTargetService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 获取指标信息通过targetID |
| | | * 获取指标信息通过id |
| | | */ |
| | | @ApiOperation("获取指标信息通过targetID") |
| | | @ApiOperation("获取指标信息通过id") |
| | | @PreAuthorize("@ss.hasPermi('system:target:query')") |
| | | @GetMapping(value = "/getInfo/{targetID}") |
| | | public AjaxResult getInfo(@PathVariable("targetID") Long targetID) { |
| | | return success(ivrLibaTargetService.selectIvrLibaTargetByTargetID(targetID)); |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(ivrLibaTargetService.selectIvrLibaTargetByTargetID(id)); |
| | | } |
| | | |
| | | /** |
| | |
| | | @ApiOperation("删除指标") |
| | | @PreAuthorize("@ss.hasPermi('system:target:remove')") |
| | | @Log(title = "指标选项库", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{targetIDs}") |
| | | public AjaxResult remove(@PathVariable Long[] targetIDs) { |
| | | return toAjax(ivrLibaTargetService.deleteIvrLibaTargetByTargetIDs(targetIDs)); |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(ivrLibaTargetService.deleteIvrLibaTargetByTargetIDs(ids)); |
| | | } |
| | | |
| | | /** |