package com.yeshi.fanli.service.inter.count; import java.math.BigDecimal; import java.util.List; import java.util.Map; public interface UserInfoCountService { /** * 统计用户个数 * @param isToday 统计今日 * @param isMonth 统计当月 二则不可同时存在 * @return */ public long countNewUser(Integer isToday, Integer isMonth); /** * 根据等级统计用户数量 * @param rank * @return */ public long countRank(Integer rank); /** * 统计所有用户总金额 或 可提现金额 * @param minMoney * @return */ public BigDecimal countAllMoney(Double minMoney); /** * 统计流失用户数量:( num 天未使用登录并且无任何资金流动的账号数量) * @param num 180 * @return */ public long countLoseUser(int daysNum); /** * 累计有购买用户数 * @return */ public long countHasOrderUser(); /** * 统计新增用户 * @return */ public List> countNewUserByDate(String channel,Integer type,String years, String startTime, String endTime) throws Exception; public List> getTodayBuyRate(String channel, Integer type, String years, String startTime, String endTime) throws Exception; public List getWeekBuyRate(String channel, String startTime, String endTime, Integer orderNum, List dateList) throws Exception; }