| | |
| | | |
| | | 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(); |
| | | } |