liyong
2026-07-03 bee96a1d36c86068cd5a7eb69f4e3294a8123b04
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package cn.iocoder.yudao.module.erp.service.statistics;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * ERP 销售统计 Service 接口
 *
 * @author 芋道源码
 */
public interface ErpSaleStatisticsService {
 
    /**
     * 获得销售金额
     *
     * 计算逻辑:销售出库的金额 - 销售退货的金额
     *
     * @param beginTime >= 开始时间
     * @param endTime < 结束时间
     * @return 销售金额
     */
    BigDecimal getSalePrice(LocalDateTime beginTime, LocalDateTime endTime);
 
}