| | |
| | | |
| | | /** |
| | | * 方案AI外呼任务详情Controller |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | |
| | | /** |
| | | * 查询方案AI外呼任务详情列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SchemeTaskrecordCalldetail schemeTaskrecordCalldetail) |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SchemeTaskrecordCalldetail schemeTaskrecordCalldetail) |
| | | { |
| | | startPage(); |
| | | List<SchemeTaskrecordCalldetail> list = schemeTaskrecordCalldetailService.selectSchemeTaskrecordCalldetailList(schemeTaskrecordCalldetail); |
| | |
| | | /** |
| | | * 导出方案AI外呼任务详情列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:export')") |
| | | @Log(title = "方案AI外呼任务详情", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SchemeTaskrecordCalldetail schemeTaskrecordCalldetail) |
| | |
| | | /** |
| | | * 获取方案AI外呼任务详情详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | /** |
| | | * 新增方案AI外呼任务详情 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:add')") |
| | | @Log(title = "方案AI外呼任务详情", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SchemeTaskrecordCalldetail schemeTaskrecordCalldetail) |
| | | { |
| | | return toAjax(schemeTaskrecordCalldetailService.insertSchemeTaskrecordCalldetail(schemeTaskrecordCalldetail)); |
| | |
| | | /** |
| | | * 修改方案AI外呼任务详情 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:edit')") |
| | | @Log(title = "方案AI外呼任务详情", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SchemeTaskrecordCalldetail schemeTaskrecordCalldetail) |
| | | { |
| | | return toAjax(schemeTaskrecordCalldetailService.updateSchemeTaskrecordCalldetail(schemeTaskrecordCalldetail)); |
| | |
| | | /** |
| | | * 删除方案AI外呼任务详情 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:remove')") |
| | | @Log(title = "方案AI外呼任务详情", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(schemeTaskrecordCalldetailService.deleteSchemeTaskrecordCalldetailByIds(ids)); |