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

import com.red.circle.console.infra.database.rds.entity.count.StatisticsDailyRegisterLogoutPlatform;
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 StatisticsDailyRegisterLogoutPlatformService extends
    BaseService<StatisticsDailyRegisterLogoutPlatform> {

  /**
   * 获取最近30天人数
   *
   * @return ignore
   */
  Map<String, List<StatisticsDailyRegisterLogoutPlatform>> mapPlatformLatest30Day();

  /**
   * 用户新增情况统计.
   */
  void countUserAdded(Integer countTimeNumber, LocalDate countTime, LocalDate endCountTime);

}
