package cn.iocoder.yudao.module.crm.api.trace; import cn.iocoder.yudao.framework.common.pojo.CommonResult; import cn.iocoder.yudao.module.crm.api.trace.dto.CrmSaleTraceRespDTO; /** * CRM 销售追溯 API 接口 * * @author 芋道源码 */ public interface CrmSaleTraceApi { String PREFIX = "/rpc-api/crm/sale-trace"; /** * 根据商机编号获取销售流程追溯信息 * * @param businessId 商机编号 * @return 追溯信息 */ CommonResult getTraceByBusinessId(Long businessId); /** * 根据合同编号获取销售流程追溯信息 * * @param contractId 合同编号 * @return 追溯信息 */ CommonResult getTraceByContractId(Long contractId); /** * 根据客户编号获取销售流程追溯信息列表 * * @param customerId 客户编号 * @return 追溯信息列表 */ CommonResult> getTraceListByCustomerId(Long customerId); }