admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserActiveLogService.java
@@ -1,7 +1,5 @@
package com.yeshi.fanli.service.inter.user;
import java.util.List;
import com.yeshi.fanli.entity.bus.user.UserActiveLog;
/**
@@ -27,45 +25,18 @@
   public UserActiveLog getUserLatestActiveInfo(Long uid);
   /**
    * 根据渠道   统计当日新增用户数量
    * @param channel
    * 获取第一次活跃信息
    *
    * @param uid
    * @return
    */
   public List<Object> countSameDayByChannel(String channel, Integer type, String years, String startTime, String endTime)
         throws Exception;
   /**
    * 根据渠道   统计当日新增用户有购买行为的数量
    * @param channel
    * @return
    */
   public List<Object> countSameDayAndBuyGoodsByChannel(String channel, Integer type, String years, String startTime,
         String endTime) throws Exception;
   public UserActiveLog getFirstActiveInfo(Long uid);
   /**
    * 当日产生订单的新增用户 与 当日总新增用户比例
    * @param channel
    * @param type
    * @param years
    * @param startTime
    * @param endTime
    * 统计90后再次活跃用户
    * @param date
    * @return
    * @throws Exception
    */
   public List<Object> getBuyProportion(String channel, Integer type, String years, String startTime, String endTime,Integer orderNum)
         throws Exception;
   /**
    * 根据渠道   统计当日新增用户有购买行为的订单数量大于3
    * @param channel
    * @param type
    * @param years
    * @param startTime
    * @param endTime
    * @param orderNum
    * @return
    * @throws Exception
    */
   public List<Object> countSameDayAndBuyGoodsByChannelAndBuyNum(String channel, Integer type, String years,
         String startTime, String endTime, Integer orderNum) throws Exception;
   public long count90DaysLaterActiveNum(String date);
}