8 天以前 f0efc10af370936b4db47b8428eb1ca4686431f9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.ruoyi.home.mapper;
 
import com.ruoyi.dto.MapDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
 
/**
 * 首页统计 Mapper
 * 
 * @author antigravity
 */
@Mapper
public interface HomeMapper {
    /**
     * 查询产品周转天数
     *
     * @return 产品周转天数列表
     */
    List<MapDto> productTurnoverDays();
 
    List<MapDto> productTurnoverDaysByDate(@Param("startDate") String startDate, @Param("endDate") String endDate);
 
    /**
     * 查询采购品大类分布(各产品小类的采购数量/金额)
     *
     * @return 采购分布列表
     */
    List<MapDto> selectPurchaseCategoryDistribution();
}