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

import com.red.circle.console.infra.database.rds.entity.count.StatisticsDailyCurrencyCountPlatform;
import com.red.circle.framework.mybatis.service.BaseService;
import java.time.LocalDate;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 每日货币流通统计 服务类
 * </p>
 *
 * @author pengliang
 * @since 2021-07-30
 */
public interface StatisticsDailyCurrencyCountPlatformService extends
    BaseService<StatisticsDailyCurrencyCountPlatform> {

  /**
   * 获取平台最近latestDays数据.
   */
  Map<String, List<StatisticsDailyCurrencyCountPlatform>> mapSysOriginLatestGroup(
      int latestDays);

  /**
   * 统计积分情况.
   */
  void countIntegral(Integer countTimeNumber, LocalDate countTime, LocalDate endCountTime);
}
