xiaoyi
4 天以前 abf1c0a35d85d38239ff5d2ed746a4e4b797c9d1
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/receivable/CrmReceivablePlanService.java
@@ -7,13 +7,15 @@
import cn.iocoder.yudao.module.crm.dal.dataobject.receivable.CrmReceivablePlanDO;
import jakarta.validation.Valid;
import java.math.BigDecimal;
import java.util.Collection;
import java.util.List;
import java.util.Map;
/**
 * CRM 回款计划 Service 接口
 *
 * @author 芋道源码
 * @author 超级管理员
 */
public interface CrmReceivablePlanService {
@@ -92,4 +94,20 @@
     */
    Long getReceivablePlanRemindCount(Long userId);
    /**
     * 获得客户的欠费金额 Map(未回款 + 已逾期的回款计划金额合计)
     *
     * @param customerIds 客户编号集合
     * @return key=客户编号,value=欠费金额
     */
    Map<Long, BigDecimal> getOverdueAmountMapByCustomerIds(Collection<Long> customerIds);
    /**
     * 获得客户的欠费笔数 Map(未回款 + 已逾期的回款计划数量)
     *
     * @param customerIds 客户编号集合
     * @return key=客户编号,value=欠费笔数
     */
    Map<Long, Integer> getOverdueCountMapByCustomerIds(Collection<Long> customerIds);
}