liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskTemplateController.java
@@ -35,7 +35,7 @@
     * 查询随访任务随访模板库列表
     */
    @ApiOperation("查询随访任务随访模板库列表")
    @PreAuthorize("@ss.hasPermi('system:template:list')")
    //@PreAuthorize("@ss.hasPermi('system:template:list')")
    @PostMapping("/list")
    public TableDataInfo list(@RequestBody IvrTaskTemplate ivrTaskTemplate) {
        startPage();
@@ -46,7 +46,7 @@
    /**
     * 导出随访任务随访模板库列表
     */
    @PreAuthorize("@ss.hasPermi('system:template:export')")
    //@PreAuthorize("@ss.hasPermi('system:template:export')")
    @ApiOperation("导出随访任务随访模板库列表")
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrTaskTemplate ivrTaskTemplate) {
@@ -58,7 +58,7 @@
    /**
     * 获取随访任务随访模板库详细信息
     */
    @PreAuthorize("@ss.hasPermi('system:template:query')")
    //@PreAuthorize("@ss.hasPermi('system:template:query')")
    @ApiOperation("获取随访任务随访模板库详细信息")
    @GetMapping(value = "/getInfo/{ID}")
    public AjaxResult getInfo(@PathVariable("ID") Long ID) {
@@ -68,7 +68,7 @@
    /**
     * 新增随访任务随访模板库
     */
    @PreAuthorize("@ss.hasPermi('system:template:add')")
    //@PreAuthorize("@ss.hasPermi('system:template:add')")
    @ApiOperation("新增随访任务随访模板库")
    @PostMapping("/add")
    public AjaxResult add(@RequestBody IvrTaskTemplate ivrTaskTemplate) {
@@ -78,7 +78,7 @@
    /**
     * 新增或修改随访任务随访模板库
     */
    @PreAuthorize("@ss.hasPermi('system:template:add')")
    //@PreAuthorize("@ss.hasPermi('system:template:add')")
    @ApiOperation("新增或修改随访任务随访模板库")
    @PostMapping("/saveOrUpdateTempScript")
    public AjaxResult saveOrUpdateTempScript(@RequestBody IvrTaskTemplateVO ivrTaskTemplateVO) {
@@ -88,7 +88,7 @@
    /**
     * 修改随访任务随访模板库
     */
    @PreAuthorize("@ss.hasPermi('system:template:edit')")
    //@PreAuthorize("@ss.hasPermi('system:template:edit')")
    @ApiOperation("修改随访任务随访模板库")
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody IvrTaskTemplate ivrTaskTemplate) {
@@ -98,7 +98,7 @@
    /**
     * 删除随访任务随访模板库
     */
    @PreAuthorize("@ss.hasPermi('system:template:remove')")
    //@PreAuthorize("@ss.hasPermi('system:template:remove')")
    @ApiOperation("删除随访任务随访模板库")
    @GetMapping("/remove/{IDs}")
    public AjaxResult remove(@PathVariable Long[] IDs) {