package cn.iocoder.yudao.module.crm.service.statistics; import cn.iocoder.yudao.module.crm.controller.admin.statistics.vo.customer.*; import java.util.List; /** * CRM 客户分析 Service 接口 * * @author dhb52 */ public interface CrmStatisticsCustomerService { /** * 总量分析(按日期) * * @param reqVO 请求参数 * @return 统计数据 */ List getCustomerSummaryByDate(CrmStatisticsCustomerReqVO reqVO); /** * 总量分析(按用户) * * @param reqVO 请求参数 * @return 统计数据 */ List getCustomerSummaryByUser(CrmStatisticsCustomerReqVO reqVO); /** * 跟进次数分析(按日期) * * @param reqVO 请求参数 * @return 统计数据 */ List getFollowUpSummaryByDate(CrmStatisticsCustomerReqVO reqVO); /** * 跟进次数分析(按用户) * * @param reqVO 请求参数 * @return 统计数据 */ List getFollowUpSummaryByUser(CrmStatisticsCustomerReqVO reqVO); /** * 客户跟进次数分析(按类型) * * @param reqVO 请求参数 * @return 统计数据 */ List getFollowUpSummaryByType(CrmStatisticsCustomerReqVO reqVO); /** * 获取客户的首次合同、回款信息列表,用于【客户转化率】页面 * * @param reqVO 请求参数 * @return 统计数据 */ List getContractSummary(CrmStatisticsCustomerReqVO reqVO); /** * 公海客户分析(按日期) * * @param reqVO 请求参数 * @return 统计数据 */ List getPoolSummaryByDate(CrmStatisticsCustomerReqVO reqVO); /** * 公海客户分析(按用户) * * @param reqVO 请求参数 * @return 统计数据 */ List getPoolSummaryByUser(CrmStatisticsCustomerReqVO reqVO); /** * 客户成交周期(按日期) * * 成交周期的定义:客户 customer 在创建出来,到合同 contract 第一次成交的时间差 * * @param reqVO 请求参数 * @return 统计数据 */ List getCustomerDealCycleByDate(CrmStatisticsCustomerReqVO reqVO); /** * 客户成交周期(按用户) * * @param reqVO 请求参数 * @return 统计数据 */ List getCustomerDealCycleByUser(CrmStatisticsCustomerReqVO reqVO); /** * 客户成交周期(按区域) * * @param reqVO 请求参数 * @return 统计数据 */ List getCustomerDealCycleByArea(CrmStatisticsCustomerReqVO reqVO); /** * 客户成交周期(按产品) * * @param reqVO 请求参数 * @return 统计数据 */ List getCustomerDealCycleByProduct(CrmStatisticsCustomerReqVO reqVO); }