|
@@ -2,6 +2,11 @@ package com.fs.company.controller.company;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
+
|
|
|
|
|
+import com.fs.company.domain.CompanyVoiceRoboticCallLogSendmsg;
|
|
|
|
|
+import com.fs.company.vo.CompanyVoiceRoboticCallLogCallPhoneVO;
|
|
|
|
|
+import com.fs.company.vo.CompanyVoiceRoboticCallLogCount;
|
|
|
|
|
+import com.fs.company.vo.CompanyVoiceRoboticCallLogSendmsgVO;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
@@ -60,6 +65,52 @@ public class CompanyVoiceRoboticCallLogCallphoneController extends BaseControlle
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('company:sendmsglog:list')")
|
|
|
|
|
+ @GetMapping("/listByCallerIdAndRoboticId")
|
|
|
|
|
+ public TableDataInfo listByCallerIdAndRoboticId(CompanyVoiceRoboticCallLogCallphone companyVoiceRoboticCallLogCallphone) {
|
|
|
|
|
+ startPage();
|
|
|
|
|
+ List<CompanyVoiceRoboticCallLogCallPhoneVO> list = companyVoiceRoboticCallLogCallphoneService.listByRoboticId(companyVoiceRoboticCallLogCallphone);
|
|
|
|
|
+ return getDataTable(list);
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 查询调用日志_发送短信列表(按照任务id分组,任务id-任务名称-查询总任务数量-成功数量)
|
|
|
|
|
+ */
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('company:sendmsglog:list')")
|
|
|
|
|
+ @GetMapping("/groupList")
|
|
|
|
|
+ public TableDataInfo groupList(CompanyVoiceRoboticCallLogCallphone companyVoiceRoboticCallLogCallphone)
|
|
|
|
|
+ {
|
|
|
|
|
+ startPage();
|
|
|
|
|
+ List<CompanyVoiceRoboticCallLogCallphone> list = companyVoiceRoboticCallLogCallphoneService.selectCompanyVoiceRoboticCallPhoneLogGroupList(companyVoiceRoboticCallLogCallphone);
|
|
|
|
|
+ return getDataTable(list);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 查询调用日志_发送短信列表统计数据
|
|
|
|
|
+ */
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('company:sendmsglog:list')")
|
|
|
|
|
+ @GetMapping("/count")
|
|
|
|
|
+ public AjaxResult selectCompanyVoiceRoboticCallPhoneLogCount()
|
|
|
|
|
+ {
|
|
|
|
|
+ CompanyVoiceRoboticCallLogCount companyVoiceRoboticCallLogCount = companyVoiceRoboticCallLogCallphoneService.selectCompanyVoiceRoboticCallPhoneLogCount();
|
|
|
|
|
+ return AjaxResult.success(companyVoiceRoboticCallLogCount);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 导出调用日志_ai打电话列表
|
|
|
|
|
+ */
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('company:callphonelog:export')")
|
|
|
|
|
+ @Log(title = "调用日志_ai打电话", businessType = BusinessType.EXPORT)
|
|
|
|
|
+ @GetMapping("/export")
|
|
|
|
|
+ public AjaxResult export(CompanyVoiceRoboticCallLogCallphone companyVoiceRoboticCallLogCallphone)
|
|
|
|
|
+ {
|
|
|
|
|
+ List<CompanyVoiceRoboticCallLogCallPhoneVO> list = companyVoiceRoboticCallLogCallphoneService.listByRoboticId(companyVoiceRoboticCallLogCallphone);
|
|
|
|
|
+ ExcelUtil<CompanyVoiceRoboticCallLogCallPhoneVO> util = new ExcelUtil<CompanyVoiceRoboticCallLogCallPhoneVO>(CompanyVoiceRoboticCallLogCallPhoneVO.class);
|
|
|
|
|
+ return util.exportExcel(list, "调用日志_ai打电话数据");
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
// /**
|
|
// /**
|
|
|
// * 导出调用日志_ai打电话列表
|
|
// * 导出调用日志_ai打电话列表
|
|
|
// */
|
|
// */
|