package com.red.circle.console.infra.database.rds.dao.count;

import com.red.circle.console.infra.database.rds.entity.count.StatisticsDailyPurchaseAmountPlatform;
import com.red.circle.framework.mybatis.dao.BaseDAO;
import java.time.LocalDate;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 平台每日内购量 Mapper 接口
 * </p>
 *
 * @author pengliang
 * @since 2021-07-31
 */
public interface StatisticsDailyPurchaseAmountPlatformDAO extends
    BaseDAO<StatisticsDailyPurchaseAmountPlatform> {


  /**
   * 统计每日各平台内购情况.
   */
  void countPurchasePlatform(@Param("countTimeNumber") Integer countTimeNumber,
      @Param("countTime") LocalDate countTime,
      @Param("endCountTime") LocalDate endCountTime);


  /**
   * 统计每日各平台内购情况-区分区域.
   */
  void countPurchasePlatformRegion(@Param("countTimeNumber") Integer countTimeNumber,
      @Param("countTime") LocalDate countTime,
      @Param("endCountTime") LocalDate endCountTime);

  /**
   * 统计每日各平台内购情况-区分区域(其他).
   */
  void countPurchasePlatformOther(@Param("countTimeNumber") Integer countTimeNumber,
      @Param("countTime") LocalDate countTime,
      @Param("endCountTime") LocalDate endCountTime);

  /**
   * 统计每月各平台内购情况.
   */
  void countPurchasePlatformMonth();

}
