|
|
@@ -0,0 +1,103 @@
|
|
|
+package com.fs.company.controller.company;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.PutMapping;
|
|
|
+import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
+import org.springframework.web.bind.annotation.PathVariable;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+import com.fs.common.annotation.Log;
|
|
|
+import com.fs.common.core.controller.BaseController;
|
|
|
+import com.fs.common.core.domain.AjaxResult;
|
|
|
+import com.fs.common.enums.BusinessType;
|
|
|
+import com.fs.company.domain.CompanyVoiceRoboticCallLogCallphone;
|
|
|
+import com.fs.company.service.ICompanyVoiceRoboticCallLogCallphoneService;
|
|
|
+import com.fs.common.utils.poi.ExcelUtil;
|
|
|
+import com.fs.common.core.page.TableDataInfo;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 调用日志_ai打电话Controller
|
|
|
+ *
|
|
|
+ * @author fs
|
|
|
+ * @date 2026-01-15
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("/company/callphoneLog")
|
|
|
+public class CompanyVoiceRoboticCallLogCallphoneController extends BaseController
|
|
|
+{
|
|
|
+ @Autowired
|
|
|
+ private ICompanyVoiceRoboticCallLogCallphoneService companyVoiceRoboticCallLogCallphoneService;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 查询调用日志_ai打电话列表
|
|
|
+ */
|
|
|
+ @PreAuthorize("@ss.hasPermi('company:callphonelog:list')")
|
|
|
+ @GetMapping("/list")
|
|
|
+ public TableDataInfo list(CompanyVoiceRoboticCallLogCallphone companyVoiceRoboticCallLogCallphone)
|
|
|
+ {
|
|
|
+ startPage();
|
|
|
+ List<CompanyVoiceRoboticCallLogCallphone> list = companyVoiceRoboticCallLogCallphoneService.selectCompanyVoiceRoboticCallLogCallphoneList(companyVoiceRoboticCallLogCallphone);
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
+
|
|
|
+// /**
|
|
|
+// * 导出调用日志_ai打电话列表
|
|
|
+// */
|
|
|
+// @PreAuthorize("@ss.hasPermi('company:callphonelog:export')")
|
|
|
+// @Log(title = "调用日志_ai打电话", businessType = BusinessType.EXPORT)
|
|
|
+// @GetMapping("/export")
|
|
|
+// public AjaxResult export(CompanyVoiceRoboticCallLogCallphone companyVoiceRoboticCallLogCallphone)
|
|
|
+// {
|
|
|
+// List<CompanyVoiceRoboticCallLogCallphone> list = companyVoiceRoboticCallLogCallphoneService.selectCompanyVoiceRoboticCallLogCallphoneList(companyVoiceRoboticCallLogCallphone);
|
|
|
+// ExcelUtil<CompanyVoiceRoboticCallLogCallphone> util = new ExcelUtil<CompanyVoiceRoboticCallLogCallphone>(CompanyVoiceRoboticCallLogCallphone.class);
|
|
|
+// return util.exportExcel(list, "调用日志_ai打电话数据");
|
|
|
+// }
|
|
|
+//
|
|
|
+// /**
|
|
|
+// * 获取调用日志_ai打电话详细信息
|
|
|
+// */
|
|
|
+// @PreAuthorize("@ss.hasPermi('company:callphonelog:query')")
|
|
|
+// @GetMapping(value = "/{logId}")
|
|
|
+// public AjaxResult getInfo(@PathVariable("logId") Long logId)
|
|
|
+// {
|
|
|
+// return AjaxResult.success(companyVoiceRoboticCallLogCallphoneService.selectCompanyVoiceRoboticCallLogCallphoneByLogId(logId));
|
|
|
+// }
|
|
|
+//
|
|
|
+// /**
|
|
|
+// * 新增调用日志_ai打电话
|
|
|
+// */
|
|
|
+// @PreAuthorize("@ss.hasPermi('company:callphonelog:add')")
|
|
|
+// @Log(title = "调用日志_ai打电话", businessType = BusinessType.INSERT)
|
|
|
+// @PostMapping
|
|
|
+// public AjaxResult add(@RequestBody CompanyVoiceRoboticCallLogCallphone companyVoiceRoboticCallLogCallphone)
|
|
|
+// {
|
|
|
+// return toAjax(companyVoiceRoboticCallLogCallphoneService.insertCompanyVoiceRoboticCallLogCallphone(companyVoiceRoboticCallLogCallphone));
|
|
|
+// }
|
|
|
+//
|
|
|
+// /**
|
|
|
+// * 修改调用日志_ai打电话
|
|
|
+// */
|
|
|
+// @PreAuthorize("@ss.hasPermi('company:callphonelog:edit')")
|
|
|
+// @Log(title = "调用日志_ai打电话", businessType = BusinessType.UPDATE)
|
|
|
+// @PutMapping
|
|
|
+// public AjaxResult edit(@RequestBody CompanyVoiceRoboticCallLogCallphone companyVoiceRoboticCallLogCallphone)
|
|
|
+// {
|
|
|
+// return toAjax(companyVoiceRoboticCallLogCallphoneService.updateCompanyVoiceRoboticCallLogCallphone(companyVoiceRoboticCallLogCallphone));
|
|
|
+// }
|
|
|
+//
|
|
|
+// /**
|
|
|
+// * 删除调用日志_ai打电话
|
|
|
+// */
|
|
|
+// @PreAuthorize("@ss.hasPermi('company:callphonelog:remove')")
|
|
|
+// @Log(title = "调用日志_ai打电话", businessType = BusinessType.DELETE)
|
|
|
+// @DeleteMapping("/{logIds}")
|
|
|
+// public AjaxResult remove(@PathVariable Long[] logIds)
|
|
|
+// {
|
|
|
+// return toAjax(companyVoiceRoboticCallLogCallphoneService.deleteCompanyVoiceRoboticCallLogCallphoneByLogIds(logIds));
|
|
|
+// }
|
|
|
+}
|