liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SvyLibExceptionController.java
@@ -37,9 +37,9 @@
    /**
     * 查询问卷异常列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:svyexception:list')")
    @GetMapping("/list")
    public TableDataInfo list(SvyLibException svyLibException)
    //@PreAuthorize("@ss.hasPermi('smartor:svyexception:list')")
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody SvyLibException svyLibException)
    {
        startPage();
        List<SvyLibException> list = svyLibExceptionService.selectSvyLibExceptionList(svyLibException);
@@ -49,7 +49,7 @@
    /**
     * 导出问卷异常列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:svyexception:export')")
    //@PreAuthorize("@ss.hasPermi('smartor:svyexception:export')")
    @Log(title = "问卷异常", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, SvyLibException svyLibException)
@@ -62,7 +62,7 @@
    /**
     * 获取问卷异常详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:svyexception:query')")
    //@PreAuthorize("@ss.hasPermi('smartor:svyexception:query')")
    @GetMapping(value = "/{ecid}")
    public AjaxResult getInfo(@PathVariable("ecid") Long ecid)
    {
@@ -72,9 +72,9 @@
    /**
     * 新增问卷异常
     */
    @PreAuthorize("@ss.hasPermi('smartor:svyexception:add')")
    //@PreAuthorize("@ss.hasPermi('smartor:svyexception:add')")
    @Log(title = "问卷异常", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    public AjaxResult add(@RequestBody SvyLibException svyLibException)
    {
        return toAjax(svyLibExceptionService.insertSvyLibException(svyLibException));
@@ -83,9 +83,9 @@
    /**
     * 修改问卷异常
     */
    @PreAuthorize("@ss.hasPermi('smartor:svyexception:edit')")
    //@PreAuthorize("@ss.hasPermi('smartor:svyexception:edit')")
    @Log(title = "问卷异常", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody SvyLibException svyLibException)
    {
        return toAjax(svyLibExceptionService.updateSvyLibException(svyLibException));
@@ -94,9 +94,9 @@
    /**
     * 删除问卷异常
     */
    @PreAuthorize("@ss.hasPermi('smartor:svyexception:remove')")
    //@PreAuthorize("@ss.hasPermi('smartor:svyexception:remove')")
    @Log(title = "问卷异常", businessType = BusinessType.DELETE)
   @DeleteMapping("/{ecids}")
   @GetMapping("/remove/{ecids}")
    public AjaxResult remove(@PathVariable Long[] ecids)
    {
        return toAjax(svyLibExceptionService.deleteSvyLibExceptionByEcids(ecids));