admin
2019-11-20 8b2191df2f7d94aa299bd43dcbe97c94e5a61bbd
fanli/src/main/java/com/yeshi/fanli/service/inter/count/UserInfoCountService.java
@@ -1,6 +1,10 @@
package com.yeshi.fanli.service.inter.count;
import java.math.BigDecimal;
import java.util.List;
import com.yeshi.fanli.dto.ChartTDO;
import com.yeshi.fanli.vo.user.UserGoldCoinVO;
@@ -27,7 +31,7 @@
    * @param minMoney
    * @return
    */
   public double countAllMoney(Double minMoney);
   public BigDecimal countAllMoney(Double minMoney);
   /**
    * 统计流失用户数量:( num 天未使用登录并且无任何资金流动的账号数量)
@@ -47,5 +51,36 @@
    * 统计新增用户
    * @return
    */
   public List<Object>  countNewUserByDate(Integer type,String years, String startTime, String endTime) throws Exception;
   public List<ChartTDO> countNewUserByDate(String channel,Integer type,String years, String startTime, String endTime) throws Exception;
   public List<ChartTDO> getTodayBuyRate(String channel, Integer type, String years, String startTime,
         String endTime) throws Exception;
   public List<Object>  getWeekBuyRate(String channel, String startTime, String endTime,
         Integer orderNum, List<String> dateList) throws Exception;
   /**
    * 统计用户金币情况
    * @param start
    * @param count
    * @return
    */
   public List<UserGoldCoinVO> listByUserGoldCoin(long start, int count, int type, String key);
   public long countByUserGoldCoin(int type, String key);
   /**
    * 统计剩余金币
    * @param start
    * @param count
    * @return
    */
   public List<UserGoldCoinVO> listByHasGoldCoin(long start, int count, String key);
   public long countByHasGoldCoin(String key);
}