lmx 1 month ago
parent
commit
cea38ece86

+ 103 - 0
fs-company/src/main/java/com/fs/company/controller/company/CompanyVoiceRoboticCallLogAddwxController.java

@@ -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.CompanyVoiceRoboticCallLogAddwx;
+import com.fs.company.service.ICompanyVoiceRoboticCallLogAddwxService;
+import com.fs.common.utils.poi.ExcelUtil;
+import com.fs.common.core.page.TableDataInfo;
+
+/**
+ * 调用日志_加微信Controller
+ * 
+ * @author fs
+ * @date 2026-01-15
+ */
+@RestController
+@RequestMapping("/company/addwxLog")
+public class CompanyVoiceRoboticCallLogAddwxController extends BaseController
+{
+    @Autowired
+    private ICompanyVoiceRoboticCallLogAddwxService companyVoiceRoboticCallLogAddwxService;
+
+    /**
+     * 查询调用日志_加微信列表
+     */
+    @PreAuthorize("@ss.hasPermi('company:addwxlog:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(CompanyVoiceRoboticCallLogAddwx companyVoiceRoboticCallLogAddwx)
+    {
+        startPage();
+        List<CompanyVoiceRoboticCallLogAddwx> list = companyVoiceRoboticCallLogAddwxService.selectCompanyVoiceRoboticCallLogAddwxList(companyVoiceRoboticCallLogAddwx);
+        return getDataTable(list);
+    }
+//
+//    /**
+//     * 导出调用日志_加微信列表
+//     */
+//    @PreAuthorize("@ss.hasPermi('company:addwxlog:export')")
+//    @Log(title = "调用日志_加微信", businessType = BusinessType.EXPORT)
+//    @GetMapping("/export")
+//    public AjaxResult export(CompanyVoiceRoboticCallLogAddwx companyVoiceRoboticCallLogAddwx)
+//    {
+//        List<CompanyVoiceRoboticCallLogAddwx> list = companyVoiceRoboticCallLogAddwxService.selectCompanyVoiceRoboticCallLogAddwxList(companyVoiceRoboticCallLogAddwx);
+//        ExcelUtil<CompanyVoiceRoboticCallLogAddwx> util = new ExcelUtil<CompanyVoiceRoboticCallLogAddwx>(CompanyVoiceRoboticCallLogAddwx.class);
+//        return util.exportExcel(list, "调用日志_加微信数据");
+//    }
+//
+//    /**
+//     * 获取调用日志_加微信详细信息
+//     */
+//    @PreAuthorize("@ss.hasPermi('company:addwxlog:query')")
+//    @GetMapping(value = "/{logId}")
+//    public AjaxResult getInfo(@PathVariable("logId") Long logId)
+//    {
+//        return AjaxResult.success(companyVoiceRoboticCallLogAddwxService.selectCompanyVoiceRoboticCallLogAddwxByLogId(logId));
+//    }
+//
+//    /**
+//     * 新增调用日志_加微信
+//     */
+//    @PreAuthorize("@ss.hasPermi('company:addwxlog:add')")
+//    @Log(title = "调用日志_加微信", businessType = BusinessType.INSERT)
+//    @PostMapping
+//    public AjaxResult add(@RequestBody CompanyVoiceRoboticCallLogAddwx companyVoiceRoboticCallLogAddwx)
+//    {
+//        return toAjax(companyVoiceRoboticCallLogAddwxService.insertCompanyVoiceRoboticCallLogAddwx(companyVoiceRoboticCallLogAddwx));
+//    }
+//
+//    /**
+//     * 修改调用日志_加微信
+//     */
+//    @PreAuthorize("@ss.hasPermi('company:addwxlog:edit')")
+//    @Log(title = "调用日志_加微信", businessType = BusinessType.UPDATE)
+//    @PutMapping
+//    public AjaxResult edit(@RequestBody CompanyVoiceRoboticCallLogAddwx companyVoiceRoboticCallLogAddwx)
+//    {
+//        return toAjax(companyVoiceRoboticCallLogAddwxService.updateCompanyVoiceRoboticCallLogAddwx(companyVoiceRoboticCallLogAddwx));
+//    }
+//
+//    /**
+//     * 删除调用日志_加微信
+//     */
+//    @PreAuthorize("@ss.hasPermi('company:addwxlog:remove')")
+//    @Log(title = "调用日志_加微信", businessType = BusinessType.DELETE)
+//	@DeleteMapping("/{logIds}")
+//    public AjaxResult remove(@PathVariable Long[] logIds)
+//    {
+//        return toAjax(companyVoiceRoboticCallLogAddwxService.deleteCompanyVoiceRoboticCallLogAddwxByLogIds(logIds));
+//    }
+}

+ 103 - 0
fs-company/src/main/java/com/fs/company/controller/company/CompanyVoiceRoboticCallLogCallphoneController.java

@@ -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));
+//    }
+}

+ 103 - 0
fs-company/src/main/java/com/fs/company/controller/company/CompanyVoiceRoboticCallLogSendmsgController.java

@@ -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.CompanyVoiceRoboticCallLogSendmsg;
+import com.fs.company.service.ICompanyVoiceRoboticCallLogSendmsgService;
+import com.fs.common.utils.poi.ExcelUtil;
+import com.fs.common.core.page.TableDataInfo;
+
+/**
+ * 调用日志_发送短信Controller
+ * 
+ * @author fs
+ * @date 2026-01-15
+ */
+@RestController
+@RequestMapping("/company/sendmsgLog")
+public class CompanyVoiceRoboticCallLogSendmsgController extends BaseController
+{
+    @Autowired
+    private ICompanyVoiceRoboticCallLogSendmsgService companyVoiceRoboticCallLogSendmsgService;
+
+    /**
+     * 查询调用日志_发送短信列表
+     */
+    @PreAuthorize("@ss.hasPermi('company:sendmsglog:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(CompanyVoiceRoboticCallLogSendmsg companyVoiceRoboticCallLogSendmsg)
+    {
+        startPage();
+        List<CompanyVoiceRoboticCallLogSendmsg> list = companyVoiceRoboticCallLogSendmsgService.selectCompanyVoiceRoboticCallLogSendmsgList(companyVoiceRoboticCallLogSendmsg);
+        return getDataTable(list);
+    }
+
+//    /**
+//     * 导出调用日志_发送短信列表
+//     */
+//    @PreAuthorize("@ss.hasPermi('company:sendmsglog:export')")
+//    @Log(title = "调用日志_发送短信", businessType = BusinessType.EXPORT)
+//    @GetMapping("/export")
+//    public AjaxResult export(CompanyVoiceRoboticCallLogSendmsg companyVoiceRoboticCallLogSendmsg)
+//    {
+//        List<CompanyVoiceRoboticCallLogSendmsg> list = companyVoiceRoboticCallLogSendmsgService.selectCompanyVoiceRoboticCallLogSendmsgList(companyVoiceRoboticCallLogSendmsg);
+//        ExcelUtil<CompanyVoiceRoboticCallLogSendmsg> util = new ExcelUtil<CompanyVoiceRoboticCallLogSendmsg>(CompanyVoiceRoboticCallLogSendmsg.class);
+//        return util.exportExcel(list, "调用日志_发送短信数据");
+//    }
+//
+//    /**
+//     * 获取调用日志_发送短信详细信息
+//     */
+//    @PreAuthorize("@ss.hasPermi('company:sendmsglog:query')")
+//    @GetMapping(value = "/{logId}")
+//    public AjaxResult getInfo(@PathVariable("logId") Long logId)
+//    {
+//        return AjaxResult.success(companyVoiceRoboticCallLogSendmsgService.selectCompanyVoiceRoboticCallLogSendmsgByLogId(logId));
+//    }
+//
+//    /**
+//     * 新增调用日志_发送短信
+//     */
+//    @PreAuthorize("@ss.hasPermi('company:sendmsglog:add')")
+//    @Log(title = "调用日志_发送短信", businessType = BusinessType.INSERT)
+//    @PostMapping
+//    public AjaxResult add(@RequestBody CompanyVoiceRoboticCallLogSendmsg companyVoiceRoboticCallLogSendmsg)
+//    {
+//        return toAjax(companyVoiceRoboticCallLogSendmsgService.insertCompanyVoiceRoboticCallLogSendmsg(companyVoiceRoboticCallLogSendmsg));
+//    }
+//
+//    /**
+//     * 修改调用日志_发送短信
+//     */
+//    @PreAuthorize("@ss.hasPermi('company:sendmsglog:edit')")
+//    @Log(title = "调用日志_发送短信", businessType = BusinessType.UPDATE)
+//    @PutMapping
+//    public AjaxResult edit(@RequestBody CompanyVoiceRoboticCallLogSendmsg companyVoiceRoboticCallLogSendmsg)
+//    {
+//        return toAjax(companyVoiceRoboticCallLogSendmsgService.updateCompanyVoiceRoboticCallLogSendmsg(companyVoiceRoboticCallLogSendmsg));
+//    }
+
+//    /**
+//     * 删除调用日志_发送短信
+//     */
+//    @PreAuthorize("@ss.hasPermi('company:sendmsglog:remove')")
+//    @Log(title = "调用日志_发送短信", businessType = BusinessType.DELETE)
+//	@DeleteMapping("/{logIds}")
+//    public AjaxResult remove(@PathVariable Long[] logIds)
+//    {
+//        return toAjax(companyVoiceRoboticCallLogSendmsgService.deleteCompanyVoiceRoboticCallLogSendmsgByLogIds(logIds));
+//    }
+}