| | |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * CRM 销售报价单 Service 接口 |
| | |
| | | * @return 产品明细列表 |
| | | */ |
| | | 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(); |
| | | |
| | | /** |
| | | * 转为合同 |