2026-08-10 9fceeaad9af96bc58ba714560814c6e94f8af406
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/receivable/CrmReceivableService.java
@@ -123,6 +123,14 @@
    Map<Long, BigDecimal> getReceivablePriceMapByContractId(Collection<Long> contractIds);
    /**
     * 获得开票已回款金额 Map(草稿 + 审批中 + 审批通过)
     *
     * @param invoiceIds 开票编号
     * @return 已回款金额 Map
     */
    Map<Long, BigDecimal> getReceivablePriceMapByInvoiceId(Collection<Long> invoiceIds);
    /**
     * 根据合同编号查询回款数量
     *
     * @param contractId 合同编号
@@ -130,4 +138,27 @@
     */
    Long getReceivableCountByContractId(Long contractId);
    /**
     * 根据合同编号查询已回款金额
     *
     * @param contractId 合同编号
     * @return 已回款金额
     */
    BigDecimal getReceivablePriceByContractId(Long contractId);
    /**
     * 获取总回款金额
     *
     * @return 总回款金额
     */
    BigDecimal getReceivablePriceSum();
    /**
     * 根据负责人查询回款金额
     *
     * @param ownerUserId 负责人编号
     * @return 回款金额
     */
    BigDecimal getReceivablePriceByOwnerUserId(Long ownerUserId);
}