| | |
| | | * 查询随访任务模板指标选项库列表 |
| | | */ |
| | | @ApiOperation("查询随访任务模板指标选项库列表") |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:targetoption:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrTaskTemplateTargetoption ivrTaskTemplateTargetoption) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 导出随访任务模板指标选项库列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:targetoption:export')") |
| | | @ApiOperation("导出随访任务模板指标选项库列表") |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrTaskTemplateTargetoption ivrTaskTemplateTargetoption) { |
| | |
| | | * 获取随访任务模板指标选项库详细信息 |
| | | */ |
| | | @ApiOperation("获取随访任务模板指标选项库详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:targetoption:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(ivrTaskTemplateTargetoptionService.selectIvrTaskTemplateTargetoptionById(id)); |
| | |
| | | /** |
| | | * 新增随访任务模板指标选项库 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:targetoption:add')") |
| | | @ApiOperation("新增随访任务模板指标选项库") |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrTaskTemplateTargetoption ivrTaskTemplateTargetoption) { |
| | |
| | | /** |
| | | * 修改随访任务模板指标选项库 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:targetoption:edit')") |
| | | @ApiOperation("修改随访任务模板指标选项库") |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrTaskTemplateTargetoption ivrTaskTemplateTargetoption) { |
| | |
| | | /** |
| | | * 删除随访任务模板指标选项库 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:targetoption:remove')") |
| | | @ApiOperation("删除随访任务模板指标选项库") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |