liusheng
2023-12-22 52a0bf7637b725f0b6bf18a03962b0636f7074fb
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibaTargetAssortController.java
@@ -10,6 +10,8 @@
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.*;
@@ -23,6 +25,7 @@
 * @author ruoyi
 * @date 2023-12-14
 */
@Api(description = "指标分类")
@RestController
@RequestMapping("/smartor/assort")
public class IvrLibaTargetAssortController extends BaseController
@@ -33,6 +36,7 @@
    /**
     * 查询指标分类列表
     */
    @ApiOperation("查询指标分类列表")
    @PreAuthorize("@ss.hasPermi('system:assort:list')")
    @PostMapping("/selectIvrLibaTargetAssortList")
    public TableDataInfo list(@RequestBody    IvrLibaTargetAssort ivrLibaTargetAssort)
@@ -45,6 +49,7 @@
    /**
     * 导出指标分类列表
     */
    @ApiOperation("导出指标分类列表")
    @PreAuthorize("@ss.hasPermi('system:assort:export')")
    @Log(title = "指标分类", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
@@ -58,6 +63,7 @@
    /**
     * 获取指标分类详细信息
     */
    @ApiOperation("获取指标分类详细信息")
    @PreAuthorize("@ss.hasPermi('system:assort:query')")
    @GetMapping(value = "/getInfo/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
@@ -68,6 +74,7 @@
    /**
     * 新增指标分类
     */
    @ApiOperation("新增指标分类")
    @PreAuthorize("@ss.hasPermi('system:assort:add')")
    @Log(title = "指标分类", businessType = BusinessType.INSERT)
    @PostMapping("/add")
@@ -79,6 +86,7 @@
    /**
     * 修改指标分类
     */
    @ApiOperation("修改指标分类")
    @PreAuthorize("@ss.hasPermi('system:assort:edit')")
    @Log(title = "指标分类", businessType = BusinessType.UPDATE)
    @PostMapping("/edit")
@@ -90,6 +98,7 @@
    /**
     * 删除指标分类
     */
    @ApiOperation("删除指标分类")
    @PreAuthorize("@ss.hasPermi('system:assort:remove')")
    @Log(title = "指标分类", businessType = BusinessType.DELETE)
   @GetMapping("/remove/{ids}")