liu
7 天以前 8ad99e5f72085d14fd56e8faa7aa36701823c8b5
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/receivable/CrmReceivableService.java
@@ -36,13 +36,11 @@
     */
    void updateReceivable(@Valid CrmReceivableSaveReqVO updateReqVO);
    /**
     * 更新回款流程审批结果
     *
     * @param id        回款编号
     * @param bpmResult BPM 审批结果
     */
    void updateReceivableAuditStatus(Long id, Integer bpmResult);
    /** 提交回款审批。 */
    void submitReceivable(Long id);
    /** BPM 审批结束时回写回款状态。 */
    void updateReceivableAuditStatus(Long id, Integer bpmStatus);
    /**
     * 删除回款
@@ -50,14 +48,6 @@
     * @param id 编号
     */
    void deleteReceivable(Long id);
    /**
     * 发起回款审批流程
     *
     * @param id     回款编号
     * @param userId 用户编号
     */
    void submitReceivable(Long id, Long userId);
    /**
     * 获得回款
@@ -123,6 +113,14 @@
    Map<Long, BigDecimal> getReceivablePriceMapByContractId(Collection<Long> contractIds);
    /**
     * 获得开票已回款金额 Map(草稿 + 审批中 + 审批通过)
     *
     * @param invoiceIds 开票编号
     * @return 已回款金额 Map
     */
    Map<Long, BigDecimal> getReceivablePriceMapByInvoiceId(Collection<Long> invoiceIds);
    /**
     * 根据合同编号查询回款数量
     *
     * @param contractId 合同编号