2026-07-03 3179fbb9c77eeb5260593e9df20046285dc56fe6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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<CrmSaleTraceRespDTO> getTraceByBusinessId(Long businessId);
 
    /**
     * 根据合同编号获取销售流程追溯信息
     *
     * @param contractId 合同编号
     * @return 追溯信息
     */
    CommonResult<CrmSaleTraceRespDTO> getTraceByContractId(Long contractId);
 
    /**
     * 根据客户编号获取销售流程追溯信息列表
     *
     * @param customerId 客户编号
     * @return 追溯信息列表
     */
    CommonResult<java.util.List<CrmSaleTraceRespDTO>> getTraceListByCustomerId(Long customerId);
 
}