package com.ruoyi.dataanalysis.mapper;

import com.ruoyi.dataanalysis.model.param.CustomerChartsParam;
import com.ruoyi.dataanalysis.model.param.SaleChartsParam;
import com.ruoyi.dataanalysis.model.param.StoreChartsParam;
import com.ruoyi.dataanalysis.model.result.CustomerChartsResult;
import com.ruoyi.dataanalysis.model.result.SaleChartsResult;
import com.ruoyi.dataanalysis.model.result.StoreChartsResult;
import com.ruoyi.homepage.model.param.ChartReq;
import com.ruoyi.homepage.model.result.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 后台数据统计 Mapper 接口
 *
 * @author 李文龙
 * @date 2022/01/13 14:19
 */
@Repository
public interface DataAnalysisMapper {

    List<CustomerChartsResult> customerCharts(@Param("param") CustomerChartsParam customerChartsParam);

    List<StoreChartsResult> storeCharts(@Param("param")StoreChartsParam storeChartsParam);

    List<SaleChartsResult> saleCharts(@Param("param")SaleChartsParam saleChartsParam);
}