huminmin
4 天以前 5bbf6b97525dd92c81fe91447953e7819f8a4e18
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/quotation/CrmSaleQuotationService.java
@@ -8,12 +8,11 @@
import java.util.Collection;
import java.util.List;
import java.util.Map;
/**
 * CRM 销售报价单 Service 接口
 *
 * @author 芋道源码
 * @author 超级管理员
 */
public interface CrmSaleQuotationService {
@@ -90,30 +89,6 @@
    List<CrmSaleQuotationProductDO> getSaleQuotationProductListByQuotationIds(Collection<Long> quotationIds);
    /**
     * 提交销售报价单审批
     *
     * @param id                    报价单编号
     * @param processDefinitionKey  流程定义 Key
     * @param userId                用户编号
     */
    void submitSaleQuotation(Long id, String processDefinitionKey, Long userId);
    /**
     * 更新销售报价单审批状态
     *
     * @param id        报价单编号
     * @param bpmResult BPM 审批结果
     */
    void updateSaleQuotationAuditStatus(Long id, Integer bpmResult);
    /**
     * 获取销售报价审批流程列表
     *
     * @return 流程定义列表
     */
    List<Map<String, Object>> getSaleQuotationApproveProcessDefinitionList();
    /**
     * 转为合同
     *
     * @param id     报价单编号
@@ -122,4 +97,12 @@
     */
    Long convertToContract(Long id, Long userId);
    CrmSaleQuotationDO getByContractId(Long id);
    /**
     * 清除报价单的合同关联(删除合同时调用)
     *
     * @param quotationId 报价单编号
     */
    void clearContractReference(Long quotationId);
}