| | |
| | | import com.smartor.domain.IvrLibaTargetAssort; |
| | | import com.smartor.domain.IvrLibaTargetAssortVO; |
| | | import com.smartor.service.IIvrLibaTargetAssortService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @Api(description = "指标分类") |
| | | @RestController |
| | | @RequestMapping("/smartor/assort") |
| | | public class IvrLibaTargetAssortController extends BaseController |
| | |
| | | /** |
| | | * 查询指标分类列表 |
| | | */ |
| | | @ApiOperation("查询指标分类列表") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:list')") |
| | | @PostMapping("/selectIvrLibaTargetAssortList") |
| | | public TableDataInfo list(@RequestBody IvrLibaTargetAssort ivrLibaTargetAssort) |
| | |
| | | /** |
| | | * 导出指标分类列表 |
| | | */ |
| | | @ApiOperation("导出指标分类列表") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:export')") |
| | | @Log(title = "指标分类", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | |
| | | /** |
| | | * 获取指标分类详细信息 |
| | | */ |
| | | @ApiOperation("获取指标分类详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | |
| | | /** |
| | | * 新增指标分类 |
| | | */ |
| | | @ApiOperation("新增指标分类") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:add')") |
| | | @Log(title = "指标分类", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | |
| | | /** |
| | | * 修改指标分类 |
| | | */ |
| | | @ApiOperation("修改指标分类") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:edit')") |
| | | @Log(title = "指标分类", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | |
| | | /** |
| | | * 删除指标分类 |
| | | */ |
| | | @ApiOperation("删除指标分类") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:remove')") |
| | | @Log(title = "指标分类", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |