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

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

/**
 * <p>
 * 每日内购量 Mapper 接口
 * </p>
 *
 * @author pengliang
 * @since 2020-11-12
 */
public interface StatisticsDailyPurchaseAmountDAO extends
    BaseDAO<StatisticsDailyPurchaseAmount> {

  /**
   * 统计每日内购/退款.
   */
  void countInAppPurchaseOrRefund(@Param("countTime") LocalDate countTime,
      @Param("endCountTime") LocalDate endCountTime);

  /**
   * 统计每日内购/退款-区分区域.
   */
  void countInAppPurchaseOrRefundRegion(@Param("countTime") LocalDate countTime,
      @Param("endCountTime") LocalDate endCountTime);

  /**
   * 统计每日内购/退款,其他.
   */
  void countInAppPurchaseOrRefundOther(@Param("countTime") LocalDate countTime,
      @Param("endCountTime") LocalDate endCountTime);

  /**
   * 统计每日内购-离线充值.
   */
  void countInAppPurchaseOrRefundOffline(@Param("countTime") LocalDate countTime,
      @Param("endCountTime") LocalDate endCountTime);

}
