package com.ruoyi.web.modules.openstats.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.web.modules.openstats.dto.CategoryQtyRow;
import com.ruoyi.web.modules.openstats.dto.MonthCountRow;
import com.ruoyi.web.modules.openstats.dto.RegionAmountRow;

/**
 * 商城数据统计只读 Mapper
 */
public interface MallStatsOpenMapper
{
    List<CategoryQtyRow> selectCategoryQtyByFinishDate(@Param("statDate") String statDate);

    List<MonthCountRow> selectOrderCountByYear(@Param("statYear") int statYear);

    List<MonthCountRow> selectShopCountByYear(@Param("statYear") int statYear);

    List<RegionAmountRow> selectRegionAmountByYear(@Param("statYear") int statYear);

    List<String> selectReviewContentsForWordCloud();
}
