gaoluyang
5 天以前 f412b5b671a91d7e01dac12507cad9df3648c524
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/quotation/CrmSaleQuotationService.java
@@ -12,7 +12,7 @@
/**
 * CRM 销售报价单 Service 接口
 *
 * @author 芋道源码
 * @author 超级管理员
 */
public interface CrmSaleQuotationService {
@@ -46,6 +46,30 @@
     * @return 销售报价单
     */
    CrmSaleQuotationDO getSaleQuotation(Long id);
    /**
     * 提交销售报价单审批
     *
     * @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 流程定义列表
     */
    java.util.List<java.util.Map<String, Object>> getSaleQuotationApproveProcessDefinitionList();
    /**
     * 获得销售报价单分页
@@ -97,4 +121,12 @@
     */
    Long convertToContract(Long id, Long userId);
    CrmSaleQuotationDO getByContractId(Long id);
    /**
     * 清除报价单的合同关联(删除合同时调用)
     *
     * @param quotationId 报价单编号
     */
    void clearContractReference(Long quotationId);
}