| | |
| | | * 查询问卷异常列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyexception:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyLibException svyLibException) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SvyLibException svyLibException) |
| | | { |
| | | startPage(); |
| | | List<SvyLibException> list = svyLibExceptionService.selectSvyLibExceptionList(svyLibException); |
| | |
| | | */ |
| | | @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)); |
| | |
| | | */ |
| | | @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)); |
| | |
| | | */ |
| | | @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)); |